Skip to content

Commit 4138e96

Browse files
gjtorikianclaude
andcommitted
chore(python): regenerate SDK with ignore-block class replacement fix
The generated Event stub is now replaced by the @oagen-ignore block version, eliminating the F811 duplicate class definition lint error. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 58a7019 commit 4138e96

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/workos/events/models/event.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,6 @@
88
from typing import Optional
99

1010

11-
@dataclass(slots=True)
12-
class Event:
13-
"""An event emitted by WorkOS."""
14-
15-
@classmethod
16-
def from_dict(cls, data: Dict[str, Any]) -> "Event":
17-
"""Deserialize from a dictionary."""
18-
try:
19-
return cls()
20-
except (KeyError, ValueError) as e:
21-
raise BaseRequestException(
22-
f"Unexpected API response while parsing Event: {e!s}"
23-
) from e
24-
25-
def to_dict(self) -> Dict[str, Any]:
26-
"""Serialize to a dictionary."""
27-
result: Dict[str, Any] = {}
28-
return result
29-
30-
3111
# @oagen-ignore-start
3212
@dataclass(slots=True)
3313
class Event:

0 commit comments

Comments
 (0)