Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: naas-space SDK and CLI #44

Open
wants to merge 11 commits into
base: dev
Choose a base branch
from

Conversation

l-loic
Copy link
Collaborator

@l-loic l-loic commented Jun 17, 2024

@l-loic l-loic requested a review from Dr0p42 June 17, 2024 13:03
@l-loic l-loic self-assigned this Jun 17, 2024
@@ -249,8 +251,8 @@ def delete(

def list(
self,
page_size: int = typer.Option(0, help="Size of each page of results"),
page_number: int = typer.Option(0, help="Target page number of results"),
# page_size: int = typer.Option(0, help="Size of each page of results"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why removing this ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi, this is not yet implemented in API

@@ -52,8 +52,9 @@ def get_space_by_name(self, name):
return self._handle_get_response(api_response)

@BaseAPIAdaptor.service_status_decorator
def list_spaces(self, page_size, page_number) -> dict:
_url = f"{self.host}/space/?page_size={page_size}&page_number={page_number}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

???

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi, this is not yet implemented in API

@Dr0p42
Copy link
Contributor

Dr0p42 commented Jun 25, 2024

Pytest are not passing also

@l-loic
Copy link
Collaborator Author

l-loic commented Jun 27, 2024

@Dr0p42 done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants