code: def _get_storage_manager(resource):
      
      for manager in (AmazonS3, ArvadosKeep, SevenBridges, DNAnexus, AzureBlob, GoogleCloud, RegularServer):
          if manager.check_resource(resource):
              return manager()
  
      raise ValueError("Unexpected object store  %(resource)s" %
                       {"resource": resource})
docs: Return a storage manager which can process this resource.