Skip to content

Commit

Permalink
Fix constructor args for two vobject classes
Browse files Browse the repository at this point in the history
  • Loading branch information
lucc committed Jan 3, 2025
1 parent 33d1b16 commit 86ee04c
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions stubs/vobject/vobject/vcard.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@ class Name:
additional: Incomplete
prefix: Incomplete
suffix: Incomplete
def __init__(self, family: str = "", given: str = "", additional: str = "", prefix: str = "", suffix: str = "") -> None: ...
def __init__(
self,
family: str | list[str] = "",
given: str | list[str] = "",
additional: str | list[str] = "",
prefix: str | list[str] = "",
suffix: str | list[str] = "",
) -> None: ...
@staticmethod
def toString(val): ...
def __eq__(self, other): ...
Expand All @@ -23,13 +30,13 @@ class Address:
country: Incomplete
def __init__(
self,
street: str = "",
city: str = "",
region: str = "",
code: str = "",
country: str = "",
box: str = "",
extended: str = "",
street: str | list[str] = "",
city: str | list[str] = "",
region: str | list[str] = "",
code: str | list[str] = "",
country: str | list[str] = "",
box: str | list[str] = "",
extended: str | list[str] = "",
) -> None: ...
@staticmethod
def toString(val, join_char: str = "\n"): ...
Expand Down

0 comments on commit 86ee04c

Please sign in to comment.