Skip to content

Commit

Permalink
Remove underscore_attrs_are_private, it breaks 3.13 ¯\_(ツ)_/¯
Browse files Browse the repository at this point in the history
  • Loading branch information
mesozoic committed Oct 21, 2024
1 parent c5166c0 commit 924e663
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pyairtable/models/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ class Config:
# Allow both base_invite_links= and baseInviteLinks= in constructor
allow_population_by_field_name = True

# We'll assume this in a couple different places
underscore_attrs_are_private = True

_raw: Any = pydantic.PrivateAttr()

def __init__(self, **data: Any) -> None:
Expand Down Expand Up @@ -138,7 +135,7 @@ class RestfulModel(AirtableModel):

_api: "pyairtable.api.api.Api" = pydantic.PrivateAttr()
_url: str = pydantic.PrivateAttr(default="")
_url_context: Any = None
_url_context: Any = pydantic.PrivateAttr(default=None)

def __init_subclass__(cls, **kwargs: Any) -> None:
cls.__url_pattern = kwargs.pop("url", cls.__url_pattern)
Expand Down

0 comments on commit 924e663

Please sign in to comment.