Skip to content

fix: resolve [fern-replay] conflict in management/__init__.py#842

Merged
developerkunal merged 1 commit into
auth0:fern-bot/2026-05-18_04-50-14_812from
fern-support:tanmay/resolve-management-init-conflict
May 19, 2026
Merged

fix: resolve [fern-replay] conflict in management/__init__.py#842
developerkunal merged 1 commit into
auth0:fern-bot/2026-05-18_04-50-14_812from
fern-support:tanmay/resolve-management-init-conflict

Conversation

@fern-support
Copy link
Copy Markdown
Contributor

@fern-support fern-support commented May 18, 2026

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`.

Patches replayed:
  - patch-4894603d: chore: Restore custom wiring in management/__init__.py
  - patch-f182694f: fix: Add top-level `py.typed` marker to resolve IDE import errors (auth0#829)
  - patch-1026b4d8: Release 5.4.0 (auth0#838)
@fern-support fern-support requested a review from a team as a code owner May 18, 2026 20:25
@developerkunal developerkunal merged commit 1bdc039 into auth0:fern-bot/2026-05-18_04-50-14_812 May 19, 2026
3 of 7 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