BUG: new clerk.enterprise_connections.create returns `Unset()` instead of empty values
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
Research direction
Start by reproducing clerk.enterprise_connections.create and inspect its returned fields, then compare the result with clerk.saml_connections.create. The fix is complete when idp_sso_url and idp_entity_id no longer expose Unset() or its sentinel to callers and the response provides the expected empty values.
Written by the indexing model from the issue text.
Description
We just upgrade our Python SDK to the latest and migrate our previous clerk.saml_connections.create to clerk.enterprise_connections.create and returned the success response to our UI.
After the migration our UI was showing some strange values for idp_sso_url and idp_entity_id: ~?~unset~?~sentinel~?~
After a quick debug I noticed the return from the new enterprise connection method is:
id='samlc_...', name='ASDF - Microsoft', idp_entity_id=Unset(), idp_sso_url=Unset(), idp_metadata_url=Unset(), ...
- Dominant language
- Python
- Stars
- 186
- Forks
- 47
- Avg merge
- 18h 43m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from clerk/clerk-sdk-python
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
clerk/clerk-sdk-python#243 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
clerk/clerk-sdk-python#241 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 62/100
clerk/clerk-sdk-python#231 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
clerk/clerk-sdk-python#230 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
clerk/clerk-sdk-python#229 ·
All issues in clerk/clerk-sdk-python
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100