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

Issue with permissions Attribute in Token Class (RepeatedScalarContainer Serialization) #14

Open
OmerBlechmanLinx opened this issue Sep 24, 2024 · 0 comments

Comments

@OmerBlechmanLinx
Copy link

Hi Team,

I'm currently using your SDK to fetch accounts and retrieve tokens represented by the Token class (strongdm/models.py:22469).
I noticed that the Token class includes a permissions attribute, which has a type of RepeatedScalarContainer.
Unfortunately, this type is not directly serializable, and this has caused us to implement workarounds in order to handle it.

Resolving this issue by making the permissions attribute serializable would greatly benefit all SDK users, streamlining our integrations.

Additionally, I found some references indicating that this might be a known issue (e.g., Stack Overflow: Object of type 'RepeatedCompositeContainer' is not JSON serializable).

Thank you for your attention to this matter.
Omer Blechman

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

No branches or pull requests

1 participant