@@ -67,24 +67,14 @@ class GrafeasClient(object):
6767
6868 @classmethod
6969 def note_path (cls , project , note ):
70- """DEPRECATED. Return a fully-qualified note string."""
71- warnings .warn (
72- "Resource name helper functions are deprecated." ,
73- PendingDeprecationWarning ,
74- stacklevel = 1 ,
75- )
70+ """Return a fully-qualified note string."""
7671 return google .api_core .path_template .expand (
7772 "projects/{project}/notes/{note}" , project = project , note = note ,
7873 )
7974
8075 @classmethod
8176 def occurrence_path (cls , project , occurrence ):
82- """DEPRECATED. Return a fully-qualified occurrence string."""
83- warnings .warn (
84- "Resource name helper functions are deprecated." ,
85- PendingDeprecationWarning ,
86- stacklevel = 1 ,
87- )
77+ """Return a fully-qualified occurrence string."""
8878 return google .api_core .path_template .expand (
8979 "projects/{project}/occurrences/{occurrence}" ,
9080 project = project ,
@@ -93,12 +83,7 @@ def occurrence_path(cls, project, occurrence):
9383
9484 @classmethod
9585 def project_path (cls , project ):
96- """DEPRECATED. Return a fully-qualified project string."""
97- warnings .warn (
98- "Resource name helper functions are deprecated." ,
99- PendingDeprecationWarning ,
100- stacklevel = 1 ,
101- )
86+ """Return a fully-qualified project string."""
10287 return google .api_core .path_template .expand (
10388 "projects/{project}" , project = project ,
10489 )
0 commit comments