-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: dev
Are you sure you want to change the base?
fix: naas-space SDK and CLI #44
Conversation
@@ -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"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why removing this ?
There was a problem hiding this comment.
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}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
???
There was a problem hiding this comment.
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
Pytest are not passing also |
…ing' into 2522-feat-create-notebooks-for-crud-operations-using-naas-python-for-spaces
@Dr0p42 done |
this issue resolve : https://github.com/jupyter-naas/awesome-notebooks/issues/2522#issue-2306303965