@@ -65,8 +65,8 @@ def find_credential(self, name_or_id, ignore_missing=True):
6565 :returns: One :class:`~openstack.identity.v3.credential.Credential`
6666 or None
6767 """
68- return credential . Credential . find ( self . session , name_or_id ,
69- ignore_missing = ignore_missing )
68+ return self . _find ( credential . Credential , name_or_id ,
69+ ignore_missing = ignore_missing )
7070
7171 def get_credential (self , value ):
7272 """Get a single credential
@@ -145,8 +145,8 @@ def find_domain(self, name_or_id, ignore_missing=True):
145145 attempting to find a nonexistent resource.
146146 :returns: One :class:`~openstack.identity.v3.domain.Domain` or None
147147 """
148- return domain . Domain . find ( self . session , name_or_id ,
149- ignore_missing = ignore_missing )
148+ return self . _find ( domain . Domain , name_or_id ,
149+ ignore_missing = ignore_missing )
150150
151151 def get_domain (self , value ):
152152 """Get a single domain
@@ -223,8 +223,8 @@ def find_endpoint(self, name_or_id, ignore_missing=True):
223223 attempting to find a nonexistent resource.
224224 :returns: One :class:`~openstack.identity.v3.endpoint.Endpoint` or None
225225 """
226- return endpoint . Endpoint . find ( self . session , name_or_id ,
227- ignore_missing = ignore_missing )
226+ return self . _find ( endpoint . Endpoint , name_or_id ,
227+ ignore_missing = ignore_missing )
228228
229229 def get_endpoint (self , value ):
230230 """Get a single endpoint
@@ -303,8 +303,8 @@ def find_group(self, name_or_id, ignore_missing=True):
303303 attempting to find a nonexistent resource.
304304 :returns: One :class:`~openstack.identity.v3.group.Group` or None
305305 """
306- return group . Group . find ( self . session , name_or_id ,
307- ignore_missing = ignore_missing )
306+ return self . _find ( group . Group , name_or_id ,
307+ ignore_missing = ignore_missing )
308308
309309 def get_group (self , value ):
310310 """Get a single group
@@ -382,8 +382,8 @@ def find_policy(self, name_or_id, ignore_missing=True):
382382 attempting to find a nonexistent resource.
383383 :returns: One :class:`~openstack.identity.v3.policy.Policy` or None
384384 """
385- return policy . Policy . find ( self . session , name_or_id ,
386- ignore_missing = ignore_missing )
385+ return self . _find ( policy . Policy , name_or_id ,
386+ ignore_missing = ignore_missing )
387387
388388 def get_policy (self , value ):
389389 """Get a single policy
@@ -460,8 +460,8 @@ def find_project(self, name_or_id, ignore_missing=True):
460460 attempting to find a nonexistent resource.
461461 :returns: One :class:`~openstack.identity.v3.project.Project` or None
462462 """
463- return project . Project . find ( self . session , name_or_id ,
464- ignore_missing = ignore_missing )
463+ return self . _find ( project . Project , name_or_id ,
464+ ignore_missing = ignore_missing )
465465
466466 def get_project (self , value ):
467467 """Get a single project
@@ -538,8 +538,8 @@ def find_service(self, name_or_id, ignore_missing=True):
538538 attempting to find a nonexistent resource.
539539 :returns: One :class:`~openstack.identity.v3.service.Service` or None
540540 """
541- return service . Service . find ( self . session , name_or_id ,
542- ignore_missing = ignore_missing )
541+ return self . _find ( service . Service , name_or_id ,
542+ ignore_missing = ignore_missing )
543543
544544 def get_service (self , value ):
545545 """Get a single service
@@ -616,8 +616,7 @@ def find_user(self, name_or_id, ignore_missing=True):
616616 attempting to find a nonexistent resource.
617617 :returns: One :class:`~openstack.identity.v3.user.User` or None
618618 """
619- return user .User .find (self .session , name_or_id ,
620- ignore_missing = ignore_missing )
619+ return self ._find (user .User , name_or_id , ignore_missing = ignore_missing )
621620
622621 def get_user (self , value ):
623622 """Get a single user
@@ -694,8 +693,8 @@ def find_trust(self, name_or_id, ignore_missing=True):
694693 attempting to find a nonexistent resource.
695694 :returns: One :class:`~openstack.identity.v3.trust.Trust` or None
696695 """
697- return trust . Trust . find ( self . session , name_or_id ,
698- ignore_missing = ignore_missing )
696+ return self . _find ( trust . Trust , name_or_id ,
697+ ignore_missing = ignore_missing )
699698
700699 def get_trust (self , value ):
701700 """Get a single trust
@@ -772,8 +771,8 @@ def find_region(self, name_or_id, ignore_missing=True):
772771 attempting to find a nonexistent region.
773772 :returns: One :class:`~openstack.identity.v3.region.Region` or None
774773 """
775- return region . Region . find ( self . session , name_or_id ,
776- ignore_missing = ignore_missing )
774+ return self . _find ( region . Region , name_or_id ,
775+ ignore_missing = ignore_missing )
777776
778777 def get_region (self , value ):
779778 """Get a single region
0 commit comments