Skip to content

Commit 807437c

Browse files
authored
chore: mark non-spec service accessors with @oagen-ignore-start/end (#613)
1 parent 7e42ede commit 807437c

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

.oagen-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": 1,
33
"language": "python",
4-
"generatedAt": "2026-04-13T15:44:50.450Z",
4+
"generatedAt": "2026-04-14T16:36:59.471Z",
55
"files": [
66
"src/workos/_client.py",
77
"src/workos/admin_portal/__init__.py",

src/workos/_client.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,13 @@
2828
from .webhooks._resource import Webhooks, AsyncWebhooks
2929
from .widgets._resource import Widgets, AsyncWidgets
3030
from .audit_logs._resource import AuditLogs, AsyncAuditLogs
31+
32+
# @oagen-ignore-start — non-spec service imports (hand-maintained)
3133
from .passwordless import AsyncPasswordless, Passwordless
3234
from .vault import AsyncVault, Vault
3335
from .actions import Actions, AsyncActions
3436
from .pkce import PKCE
37+
# @oagen-ignore-end
3538

3639

3740
class WorkOSClient(_SyncBase):
@@ -127,6 +130,8 @@ def mfa(self) -> MultiFactorAuth:
127130
"""Alias for multi_factor_auth."""
128131
return self.multi_factor_auth
129132

133+
# @oagen-ignore-start — non-spec service accessors (hand-maintained)
134+
130135
@functools.cached_property
131136
def passwordless(self) -> Passwordless:
132137
"""Passwordless authentication sessions."""
@@ -147,6 +152,8 @@ def pkce(self) -> PKCE:
147152
"""PKCE (Proof Key for Code Exchange) utilities."""
148153
return PKCE()
149154

155+
# @oagen-ignore-end
156+
150157

151158
class AsyncWorkOSClient(_AsyncBase):
152159
"""Asynchronous WorkOS API client with service accessors."""
@@ -241,6 +248,8 @@ def mfa(self) -> AsyncMultiFactorAuth:
241248
"""Alias for multi_factor_auth."""
242249
return self.multi_factor_auth
243250

251+
# @oagen-ignore-start — non-spec service accessors (hand-maintained)
252+
244253
@functools.cached_property
245254
def passwordless(self) -> AsyncPasswordless:
246255
"""Passwordless authentication sessions."""
@@ -260,3 +269,5 @@ def actions(self) -> AsyncActions:
260269
def pkce(self) -> PKCE:
261270
"""PKCE (Proof Key for Code Exchange) utilities."""
262271
return PKCE()
272+
273+
# @oagen-ignore-end

0 commit comments

Comments
 (0)