[vobject] Update to 0.9.9 (#13263)

Update repository URL
This commit is contained in:
Sebastian Rittau
2024-12-18 18:45:37 +01:00
committed by GitHub
parent 736db39315
commit 9351a842a3
6 changed files with 24 additions and 32 deletions

View File

@@ -1,2 +1,2 @@
version = "0.9.*"
upstream_repository = "https://github.com/eventable/vobject"
version = "~=0.9.9"
upstream_repository = "https://github.com/py-vobject/vobject"

View File

@@ -1,8 +1,6 @@
from typing import Final
from .base import VERSION as VERSION, Component
from .base import Component
__version__ = VERSION
def iCalendar() -> Component: ...
def vCard() -> Component: ...
VERSION: Final[str]

View File

@@ -1,7 +1,10 @@
import logging
from _typeshed import Incomplete, SupportsWrite
from collections.abc import Iterable, Iterator
from typing import Any, Literal, TypeVar, overload
from typing import Any, Final, Literal, TypeVar, overload
_V = TypeVar("_V", bound=VBase)
_W = TypeVar("_W", bound=SupportsWrite[bytes])
logger: logging.Logger
DEBUG: bool
@@ -12,8 +15,7 @@ SPACE: str
TAB: str
SPACEORTAB: str
_V = TypeVar("_V", bound=VBase)
_W = TypeVar("_W", bound=SupportsWrite[bytes])
VERSION: Final[str]
class VBase:
group: Incomplete | None

View File

@@ -1,10 +1,10 @@
from typing import Any
from typing import Any, ClassVar
class Behavior:
name: str
description: str
versionString: str
knownChildren: Any
knownChildren: ClassVar[dict[str, tuple[int, int | None, int | None]]]
quotedPrintable: bool
defaultBehavior: Any
hasNative: bool

View File

@@ -1,18 +1,19 @@
import datetime
from _typeshed import Incomplete
from datetime import timedelta
from typing import Any
from typing import Any, Final
from .base import Component
from .behavior import Behavior
DATENAMES: tuple[str, ...]
RULENAMES: tuple[str, ...]
DATESANDRULES: tuple[str, ...]
PRODID: str
WEEKDAYS: tuple[str, ...]
FREQUENCIES: tuple[str, ...]
zeroDelta: timedelta
twoHours: timedelta
DATENAMES: Final[tuple[str, ...]]
RULENAMES: Final[tuple[str, ...]]
DATESANDRULES: Final[tuple[str, ...]]
PRODID: Final[str]
WEEKDAYS: Final[tuple[str, ...]]
FREQUENCIES: Final[tuple[str, ...]]
ZERO_DELTA: Final[timedelta]
twoHours: Final[timedelta]
def toUnicode(s: str | bytes) -> str: ...
def registerTzid(tzid, tzinfo) -> None: ...
@@ -106,7 +107,6 @@ class VCalendar2_0(VCalendarComponentBehavior):
description: str
versionString: str
sortFirst: Any
knownChildren: Any
@classmethod
def generateImplicitParameters(cls, obj) -> None: ...
@classmethod
@@ -117,7 +117,6 @@ class VTimezone(VCalendarComponentBehavior):
hasNative: bool
description: str
sortFirst: Any
knownChildren: Any
@classmethod
def validate(cls, obj, raiseException, *args): ...
@staticmethod
@@ -129,37 +128,31 @@ class TZID(Behavior): ...
class DaylightOrStandard(VCalendarComponentBehavior):
hasNative: bool
knownChildren: Any
class VEvent(RecurringBehavior):
name: str
sortFirst: Any
description: str
knownChildren: Any
@classmethod
def validate(cls, obj, raiseException, *args): ...
class VTodo(RecurringBehavior):
name: str
description: str
knownChildren: Any
@classmethod
def validate(cls, obj, raiseException, *args): ...
class VJournal(RecurringBehavior):
name: str
knownChildren: Any
class VFreeBusy(VCalendarComponentBehavior):
name: str
description: str
sortFirst: Any
knownChildren: Any
class VAlarm(VCalendarComponentBehavior):
name: str
description: str
knownChildren: Any
@staticmethod
def generateImplicitParameters(obj) -> None: ...
@classmethod
@@ -169,7 +162,6 @@ class VAvailability(VCalendarComponentBehavior):
name: str
description: str
sortFirst: Any
knownChildren: Any
@classmethod
def validate(cls, obj, raiseException, *args): ...
@@ -177,7 +169,6 @@ class Available(RecurringBehavior):
name: str
sortFirst: Any
description: str
knownChildren: Any
@classmethod
def validate(cls, obj, raiseException, *args): ...
@@ -225,7 +216,7 @@ def deltaToOffset(delta): ...
def periodToString(period, convertToUTC: bool = False): ...
def isDuration(s): ...
def stringToDate(s): ...
def stringToDateTime(s, tzinfo: Incomplete | None = None): ...
def stringToDateTime(s, tzinfo: datetime.tzinfo | None = None, strict: bool = False) -> datetime.datetime: ...
escapableCharList: str

View File

@@ -56,7 +56,6 @@ class VCard3_0(VCardBehavior):
versionString: str
isComponent: bool
sortFirst: Any
knownChildren: Any
@classmethod
def generateImplicitParameters(cls, obj) -> None: ...
@@ -68,6 +67,8 @@ class Label(VCardTextBehavior):
name: str
description: str
class GEO(VCardBehavior): ...
wacky_apple_photo_serialize: bool
REALLY_LARGE: float