Skip to content

Commit dd01c8e

Browse files
[fern-replay] Applied customizations
Patches applied (2): - patch-c04f0b4d: Fix for incorrect return type and missing __all__ type - patch-95211006: Restore Auth0 telemetry and custom client wiring after regeneration Patches with unresolved conflicts (2): - patch-4894603d: chore: Restore custom wiring in management/__init__.py - patch-7271f157: Revert wrapper file to preserve Auth0 telemetry customizations Run `fern-replay resolve` to apply these customizations.
1 parent 39a9145 commit dd01c8e

3 files changed

Lines changed: 41 additions & 9 deletions

File tree

.fern/replay.lock

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,13 @@ generations:
4949
cli_version: unknown
5050
generator_versions:
5151
fernapi/fern-python-sdk: 5.17.0
52-
current_generation: 0ad7f7046e16c2c18e6c4b2c2f40e3f53b13f104
52+
- commit_sha: f21f6fd2ccac8f58ddb378c424fa1616210e0879
53+
tree_hash: 48ad05ed8f2c137572102feb8366c0347cb6b98e
54+
timestamp: 2026-07-14T04:33:06.328Z
55+
cli_version: unknown
56+
generator_versions:
57+
fernapi/fern-python-sdk: 5.17.0
58+
current_generation: f21f6fd2ccac8f58ddb378c424fa1616210e0879
5359
patches:
5460
- id: patch-4894603d
5561
content_hash: sha256:fc35b55720e7e9e354dca29191c5832b7e242ad21ba635310c698ea2c3b70a00
@@ -8808,7 +8814,7 @@ patches:
88088814
"verifiable_credentials",
88098815
]
88108816
user_owned: true
8811-
status: resolving
8817+
status: unresolved
88128818
- id: patch-7271f157
88138819
content_hash: sha256:cd98dd1948587cf3396a2eacf46626176784bd00996eb660374161bfef686e93
88148820
original_commit: 7271f15759cfb545c9ef82b5a4f519ffe0a89db2
@@ -8989,18 +8995,18 @@ patches:
89898995
token = await self._async_token()
89908996
headers["Authorization"] = f"Bearer {token}"
89918997
return headers
8992-
status: resolving
8998+
status: unresolved
89938999
- id: patch-c04f0b4d
89949000
content_hash: sha256:efc0d6e98f846a1ec39e2be0c62a4b1698fe7cbb862229d9ce16095051c8e230
89959001
original_commit: c04f0b4dbbe8f2300f4f1bf42f62350888a92da5
89969002
original_message: Fix for incorrect return type and missing __all__ type
89979003
original_author: Sourav Basu <sourav.basu@okta.com>
8998-
base_generation: 0ad7f7046e16c2c18e6c4b2c2f40e3f53b13f104
9004+
base_generation: f21f6fd2ccac8f58ddb378c424fa1616210e0879
89999005
files:
90009006
- src/auth0/management/__init__.py
90019007
patch_content: |
90029008
diff --git a/src/auth0/management/__init__.py b/src/auth0/management/__init__.py
9003-
index 1f42ca56..48bbce95 100644
9009+
index 1f42ca5..48bbce9 100644
90049010
--- a/src/auth0/management/__init__.py
90059011
+++ b/src/auth0/management/__init__.py
90069012
@@ -3192,6 +3192,8 @@ if typing.TYPE_CHECKING:
@@ -18677,18 +18683,19 @@ patches:
1867718683
"users",
1867818684
"verifiable_credentials",
1867918685
]
18686+
user_owned: true
1868018687
- id: patch-95211006
1868118688
content_hash: sha256:bf02e0b67ed9dcfde6ffbf2880f2355bf31e840592fd6e914a1c4a99d6292614
1868218689
original_commit: 952110062af1b3eb297b3cb94149b1bb8068a253
1868318690
original_message: Restore Auth0 telemetry and custom client wiring after regeneration
1868418691
original_author: Kunal Dawar <kunal.dawar@okta.com>
18685-
base_generation: 0ad7f7046e16c2c18e6c4b2c2f40e3f53b13f104
18692+
base_generation: f21f6fd2ccac8f58ddb378c424fa1616210e0879
1868618693
files:
1868718694
- src/auth0/management/__init__.py
1868818695
- src/auth0/management/core/client_wrapper.py
1868918696
patch_content: |
1869018697
diff --git a/src/auth0/management/__init__.py b/src/auth0/management/__init__.py
18691-
index 1f42ca56..48bbce95 100644
18698+
index 1f42ca5..48bbce9 100644
1869218699
--- a/src/auth0/management/__init__.py
1869318700
+++ b/src/auth0/management/__init__.py
1869418701
@@ -3192,6 +3192,8 @@ if typing.TYPE_CHECKING:
@@ -18767,7 +18774,7 @@ patches:
1876718774
"TokenQuotaClientCredentials",
1876818775
"TokenQuotaConfiguration",
1876918776
diff --git a/src/auth0/management/core/client_wrapper.py b/src/auth0/management/core/client_wrapper.py
18770-
index 63874659..b4560ca3 100644
18777+
index 6387465..b4560ca 100644
1877118778
--- a/src/auth0/management/core/client_wrapper.py
1877218779
+++ b/src/auth0/management/core/client_wrapper.py
1877318780
@@ -1,6 +1,11 @@
@@ -28557,3 +28564,4 @@ patches:
2855728564
token = await self._async_token()
2855828565
headers["Authorization"] = f"Bearer {token}"
2855928566
return headers
28567+
user_owned: true

src/auth0/management/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3192,6 +3192,8 @@
31923192
from .environment import Auth0Environment
31933193
from .event_streams import EventStreamsCreateRequest
31943194
from .version import __version__
3195+
from .management_client import AsyncManagementClient, CustomDomainHeader, ManagementClient
3196+
from .token_provider import AsyncTokenProvider, TokenProvider
31953197
_dynamic_imports: typing.Dict[str, str] = {
31963198
"Action": ".types",
31973199
"ActionBase": ".types",
@@ -3252,6 +3254,8 @@
32523254
"AssociateOrganizationClientGrantResponseContent": ".types",
32533255
"AsyncApprovalNotificationsChannelsEnum": ".types",
32543256
"AsyncAuth0": ".client",
3257+
"AsyncManagementClient": ".management_client",
3258+
"AsyncTokenProvider": ".token_provider",
32553259
"AttackProtectionCaptchaArkoseResponseContent": ".types",
32563260
"AttackProtectionCaptchaAuthChallengeRequest": ".types",
32573261
"AttackProtectionCaptchaAuthChallengeResponseContent": ".types",
@@ -4224,6 +4228,7 @@
42244228
"CspReportingEndpoints": ".types",
42254229
"CspReportingInfrastructure": ".types",
42264230
"CustomDomain": ".types",
4231+
"CustomDomainHeader": ".management_client",
42274232
"CustomDomainCustomClientIpHeader": ".types",
42284233
"CustomDomainCustomClientIpHeaderEnum": ".types",
42294234
"CustomDomainProvisioningTypeEnum": ".types",
@@ -5874,6 +5879,7 @@
58745879
"LogStreamSumoEnum": ".types",
58755880
"LogStreamSumoResponseSchema": ".types",
58765881
"LogStreamSumoSink": ".types",
5882+
"ManagementClient": ".management_client",
58775883
"MdlPresentationProperties": ".types",
58785884
"MdlPresentationRequest": ".types",
58795885
"MdlPresentationRequestProperties": ".types",
@@ -6132,6 +6138,7 @@
61326138
"TestEventDataContent": ".types",
61336139
"TokenExchangeProfileResponseContent": ".types",
61346140
"TokenExchangeProfileTypeEnum": ".types",
6141+
"TokenProvider": ".token_provider",
61356142
"TokenQuota": ".types",
61366143
"TokenQuotaClientCredentials": ".types",
61376144
"TokenQuotaConfiguration": ".types",
@@ -6459,6 +6466,8 @@ def __dir__():
64596466
"AssociateOrganizationClientGrantResponseContent",
64606467
"AsyncApprovalNotificationsChannelsEnum",
64616468
"AsyncAuth0",
6469+
"AsyncManagementClient",
6470+
"AsyncTokenProvider",
64626471
"AttackProtectionCaptchaArkoseResponseContent",
64636472
"AttackProtectionCaptchaAuthChallengeRequest",
64646473
"AttackProtectionCaptchaAuthChallengeResponseContent",
@@ -7431,6 +7440,7 @@ def __dir__():
74317440
"CspReportingEndpoints",
74327441
"CspReportingInfrastructure",
74337442
"CustomDomain",
7443+
"CustomDomainHeader",
74347444
"CustomDomainCustomClientIpHeader",
74357445
"CustomDomainCustomClientIpHeaderEnum",
74367446
"CustomDomainProvisioningTypeEnum",
@@ -9081,6 +9091,7 @@ def __dir__():
90819091
"LogStreamSumoEnum",
90829092
"LogStreamSumoResponseSchema",
90839093
"LogStreamSumoSink",
9094+
"ManagementClient",
90849095
"MdlPresentationProperties",
90859096
"MdlPresentationRequest",
90869097
"MdlPresentationRequestProperties",
@@ -9339,6 +9350,7 @@ def __dir__():
93399350
"TestEventDataContent",
93409351
"TokenExchangeProfileResponseContent",
93419352
"TokenExchangeProfileTypeEnum",
9353+
"TokenProvider",
93429354
"TokenQuota",
93439355
"TokenQuotaClientCredentials",
93449356
"TokenQuotaConfiguration",

src/auth0/management/core/client_wrapper.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# This file was auto-generated by Fern from our API Definition.
2+
# Modified by Auth0 to use Auth0 telemetry format with dynamic versioning
23

4+
import base64
5+
import platform
6+
import sys
37
import typing
8+
from json import dumps
49

510
import httpx
611
from .http_client import AsyncHttpClient, HttpClient
@@ -30,7 +35,14 @@ def __init__(
3035
self._logging = logging
3136

3237
def get_headers(self) -> typing.Dict[str, str]:
33-
import platform
38+
py_version = platform.python_version()
39+
version = sys.modules["auth0"].__version__
40+
41+
auth0_client = dumps({
42+
"name": "auth0-python",
43+
"version": version,
44+
"env": {"python": py_version}
45+
}).encode("utf-8")
3446

3547
headers: typing.Dict[str, str] = {
3648
"User-Agent": "auth0-python/5.8.0",

0 commit comments

Comments
 (0)