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 helper function to list schema ids #1349

Merged
merged 3 commits into from
Jun 28, 2024
Merged

Add helper function to list schema ids #1349

merged 3 commits into from
Jun 28, 2024

Conversation

gc153671
Copy link
Contributor

No description provided.

@CLAassistant
Copy link

CLAassistant commented Jun 28, 2024

CLA assistant check
All committers have signed the CLA.

@@ -107,3 +107,14 @@ def __unpack(self, res) -> None:
self.kind = SchemaKind.ACCESS_REQUEST

logger.info(f"Attributes for Schema ID %s successfully unpacked.", self.schema_id)

@classmethod
Copy link
Member

Choose a reason for hiding this comment

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

I think this could actually be a staticmethod instead since we aren't using cls unless we want to create a list of Schema() objects. If we just want the IDs then staticmethod is best

@bw27492 bw27492 merged commit 0303fb6 into gchq:main Jun 28, 2024
14 checks passed
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.

3 participants