feat: add retry support, FedCM login types, and error schemas#841
Open
fern-api[bot] wants to merge 7 commits into
Open
feat: add retry support, FedCM login types, and error schemas#841fern-api[bot] wants to merge 7 commits into
fern-api[bot] wants to merge 7 commits into
Conversation
099011e to
a2e752b
Compare
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 5.12.10
Patches applied (2): - patch-f182694f: fix: Add top-level `py.typed` marker to resolve IDE import errors (#829) - patch-1026b4d8: Release 5.4.0 (#838) Patches with unresolved conflicts (1): - patch-4894603d: chore: Restore custom wiring in management/__init__.py Run `fern-replay resolve` to apply these customizations. Patches absorbed by generator (1): - patch-360322ac: chore: migrate RL scanner to shared devsecops-tooling action (#837) The generator now produces these customizations natively.
a2e752b to
ec4257c
Compare
## Summary Resolves the unresolved \`patch-4894603d\` conflict surfaced by Replay in #841. Adds one commit on top of \`fern-bot/2026-05-18_04-50-14_812\` that re-applies the custom wiring in \`src/auth0/management/__init__.py\` against the new generation output, and updates \`.fern/replay.lock\` to reflect the resolution. ## What the conflict was The new generation in #841 added new types (\`BadRequestSchema\`, \`ForbiddenSchema\`, \`TooManyRequestsSchema\`, \`UnauthorizedSchema\`, \`FlowsVaultConnectio*\`, \`CredentialDeviceTypeEnum\`) immediately adjacent to the existing customer wiring entries (\`AsyncManagementClient\`, \`AsyncTokenProvider\`, \`ManagementClient\`, \`TokenProvider\`) in \`__init__.py\`'s sorted \`_dynamic_imports\` dict and \`__all__\` list. The 3-way merge correctly flagged this as a conflict — both sides added entries to the same sorted regions. \`fern replay resolve\` produced 7 conflict-marker regions. All 7 are purely additive (one side's entries are a strict subset of the other; the merged result is the union). No same-key replacements, no overlapping changes. ## Resolution table | Region | Line | Resolution | Reason | |---|---|---|---| | 1 | 84 | Took Generated side | Generator added \`BadRequestSchema\`, \`BadRequestSchemaError\` | | 2 | 1834 | Took Generated side | Generator added \`FlowsVaultConnectio*\` types | | 3 | 2875 | Took customer side | Preserves \`AsyncManagementClient\`/\`AsyncTokenProvider\` wiring in \`_dynamic_imports\` | | 4 | 2913 | Took Generated side | Generator added \`BadRequestSchema\`/\`BadRequestSchemaError\` keys | | 5 | 5667 | Took customer side | Preserves \`AsyncManagementClient\`/\`AsyncTokenProvider\` wiring in \`__all__\` | | 6 | 5705 | Took Generated side | Generator added \`BadRequestSchema\`/\`BadRequestSchemaError\` to \`__all__\` | | 7 | 7915 | Took customer side | Preserves \`ManagementClient\` in \`__all__\` | After resolution, \`fern replay resolve\` Phase 2 finalized the commit and updated the lockfile. ## Verification After this PR merges into the \`fern-bot/2026-05-18_04-50-14_812\` branch: - All 11 customer-wiring entries are present in \`src/auth0/management/__init__.py\` (imports, \`_dynamic_imports\` keys, \`__all__\` entries) - \`.fern/replay.lock\` no longer has any patch with \`status: unresolved\` or \`status: resolving\` - The \`[fern-replay] Resolved conflicts\` commit is classified by the detector as a generation boundary, so future regens treat it correctly - The diff vs master is now only the new generator-added types (legitimate spec evolution), no missing wiring ## Once merged The bot branch will reflect the resolved state. PR #841 then becomes a clean merge into \`master\`. Co-authored-by: Tanmay Singh <tstanmay13@gmail.com>
5 tasks
developerkunal
added a commit
that referenced
this pull request
May 19, 2026
### Changes - Drop Python 3.9 from supported versions (EOL since October 2025) - Add Python 3.13 to the test matrix and classifiers - Bump minimum Python version to `>=3.10` in `pyproject.toml` - Update publish workflow to build on Python 3.10 - Unpin Poetry version constraint (Poetry 2.x requires Python 3.10+, which is now our minimum) This also fixes CI failures on PR #841 where `pipx install poetry` was pulling Poetry 2.x which crashes on Python 3.9 with `TypeError: dataclass() got an unexpected keyword argument 'slots'`. ### References - [Poetry 2.0 changelog](https://python-poetry.org/blog/announcing-poetry-2.0.0/) (requires Python 3.10+) - [Python 3.9 EOL](https://devguide.python.org/versions/) (end-of-life October 2025) ### Testing - CI matrix now runs on Python 3.10, 3.11, 3.12, 3.13 - No code changes to the library itself, only build/CI configuration - [ ] This change adds unit test coverage - [x] This change has been tested on the latest version of the platform/language or why not ### Checklist - [x] I have read the [Auth0 general contribution guidelines](https://github.com/auth0/open-source-template/blob/master/GENERAL-CONTRIBUTING.md) - [x] I have read the [Auth0 Code of Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md) - [x] All existing and new tests complete without errors
Automated SDK generation by Fern --- ✅ Customizations automatically preserved in this update. --------- Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
max_retriesparameter toAuth0andAsyncAuth0clients (defaults to 2 with exponential backoff)BadRequestSchema,ForbiddenSchema,UnauthorizedSchema,TooManyRequestsSchemaFedCmLogin,FedCmLoginGoogle,CredentialDeviceTypeEnumuser_authentication_methodandresource_serverresponse types with additional fieldsclients,refresh_tokens,resource_servers,tickets, andusers/authentication_methodsendpoint parametersTesting
Wire tests cover new and updated endpoints
CI matrix runs on Python 3.10, 3.11, 3.12, 3.13
This change adds unit test coverage
This change has been tested on the latest version of the platform/language or why not
Checklist