Skip to content

Commit

Permalink
feat: allow additional properties tokenlist (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey authored Oct 23, 2024
1 parent f556715 commit 306d0e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokenlists/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def __init__(self, *args, **kwargs):
f"Missing reference tags in tokenlist: {token_ref_tags - tokenlist_tags}"
)

model_config = ConfigDict(frozen=False)
model_config = ConfigDict(frozen=False, extra="allow")

@field_validator("logoURI")
def validate_uri(cls, v: Optional[str]) -> Optional[str]:
Expand Down

0 comments on commit 306d0e8

Please sign in to comment.