Skip to content

Commit

Permalink
Add missing attributes to type stub.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidCEllis committed May 15, 2024
1 parent 551a5ab commit 9e49a8b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ducktools/classbuilder/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ class Field:

class GatheredFields:
__slots__ = ("fields", "modifications")

fields: dict[str, Field]
modifications: dict[str, typing.Any]

__classbuilder_internals__: dict

def __init__(
self,
fields: dict[str, Field],
Expand Down

0 comments on commit 9e49a8b

Please sign in to comment.