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

Add get my data by name, and fix unsubscribe #32

Merged
merged 2 commits into from
Oct 24, 2024
Merged

Conversation

andyantrim
Copy link
Contributor

No description provided.

@andyantrim andyantrim added the enhancement New feature or request label Oct 23, 2024
@andyantrim andyantrim changed the title feat: add get my data by name Add get my data by name, and fix unsubscribe Oct 24, 2024
@@ -517,6 +518,30 @@ def get_data(
for resp in resps
]

def get_my_data_by_name(self, name: str) -> Data:
"""Retrieve a data based on its unique name.
Copy link
Member

Choose a reason for hiding this comment

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

  • "Retrieve my own data"?
  • The name only unique for that organisation

Ah ok - I see you have that below but I think it might be important enough to state in the summary line 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

name: The data unique name.

Returns:
The `Data` instance identified with the provided name.
Copy link
Member

Choose a reason for hiding this comment

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

Your Data instance.. ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@andyantrim andyantrim merged commit 044a944 into main Oct 24, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants