original_docstring: Lists all datastore-versions for given datastore.
docstring: Lists all datastore-versions for given datastore.
docstring_tokens: Lists all datastore - versions for given datastore .
code: def index(self, req, tenant_id):
          """Lists all datastore-versions for given datastore."""
          db_ds_versions = models.DatastoreVersions.load_all(only_active=False)
          datastore_versions = [models.DatastoreVersion.load_by_uuid(
              ds_version.id) for ds_version in db_ds_versions]
  
          return wsgi.Result(
              views.DatastoreVersionsView(datastore_versions).data(), 200)
code_tokens: def index ( self , req , tenant_id ) : db_ds_versions = models . DatastoreVersions . load_all ( only_active = False ) datastore_versions = [ models . DatastoreVersion . load_by_uuid ( ds_version . id ) for ds_version in db_ds_versions ] return wsgi . Result ( views . DatastoreVersionsView ( datastore_versions ) . data ( ) , 200 )
short_docstring: Lists all datastore-versions for given datastore.
short_docstring_tokens: Lists all datastore - versions for given datastore .
comment: """Lists all datastore-versions for given datastore."""