Explorar o código

Removed the py36 feature for the find methods parameters

madhugilla %!s(int64=9) %!d(string=hai) anos
pai
achega
d57425b6b1
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      cloudbridge/cloud/providers/azure/services.py

+ 3 - 3
cloudbridge/cloud/providers/azure/services.py

@@ -72,7 +72,7 @@ class AzureSecurityGroupService(BaseSecurityGroupService):
             return AzureSecurityGroup(self.provider, sg)
             return AzureSecurityGroup(self.provider, sg)
         return None
         return None
 
 
-    def find(self, name: object, limit: object = None, marker: object = None):
+    def find(self, name, limit=None, marker=None):
         """
         """
         Searches for a security group by a given list of attributes.
         Searches for a security group by a given list of attributes.
         """
         """
@@ -104,7 +104,7 @@ class AzureObjectStoreService(BaseObjectStoreService):
         except AzureMissingResourceHttpError:
         except AzureMissingResourceHttpError:
             return None
             return None
 
 
-    def find(self, name: object, limit: object = None, marker: object = None):
+    def find(self, name, limit=None, marker=None):
         """
         """
         Searches for a bucket by a given list of attributes.
         Searches for a bucket by a given list of attributes.
         """
         """
@@ -154,7 +154,7 @@ class AzureVolumeService(BaseVolumeService):
         volume = self.provider.azure_client.get_disk(volume_id)
         volume = self.provider.azure_client.get_disk(volume_id)
         return AzureVolume(self.provider, volume)
         return AzureVolume(self.provider, volume)
 
 
-    def find(self, name: object, limit: object = None, marker: object = None):
+    def find(self, name, limit=None, marker=None):
         raise NotImplementedError('AzureVolumeService not imeplemented this method')
         raise NotImplementedError('AzureVolumeService not imeplemented this method')
 
 
     def list(self, limit=None, marker=None):
     def list(self, limit=None, marker=None):