Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: revert to typing-extensions library #333

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 0 additions & 42 deletions src/posit/connect/_typing_extensions.py

This file was deleted.

3 changes: 2 additions & 1 deletion src/posit/connect/content.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
overload,
)

from typing_extensions import NotRequired, Required, TypedDict, Unpack

from . import tasks
from ._api import ApiDictEndpoint, JsonifiableDict
from ._typing_extensions import NotRequired, Required, TypedDict, Unpack
from .bundles import Bundles
from .context import Context
from .env import EnvVars
Expand Down
3 changes: 2 additions & 1 deletion src/posit/connect/jobs.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import posixpath
from typing import Any, Literal, Optional, overload

from ._typing_extensions import NotRequired, Required, TypedDict, Unpack
from typing_extensions import NotRequired, Required, TypedDict, Unpack

from .context import Context
from .resources import Active, ActiveFinderMethods, ActiveSequence, Resource

Expand Down
3 changes: 2 additions & 1 deletion src/posit/connect/oauth/oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

from typing import Optional

from .._typing_extensions import TypedDict
from typing_extensions import TypedDict

from ..resources import ResourceParameters, Resources
from .integrations import Integrations
from .sessions import Sessions
Expand Down
3 changes: 2 additions & 1 deletion src/posit/connect/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

from typing import List, Literal

from typing_extensions import NotRequired, Required, TypedDict, Unpack

from . import me
from ._typing_extensions import NotRequired, Required, TypedDict, Unpack
from .content import Content
from .paginator import Paginator
from .resources import Resource, ResourceParameters, Resources
Expand Down
3 changes: 2 additions & 1 deletion src/posit/connect/vanities.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from typing import Callable, List, Optional

from ._typing_extensions import NotRequired, Required, TypedDict, Unpack
from typing_extensions import NotRequired, Required, TypedDict, Unpack

from .errors import ClientError
from .resources import Resource, ResourceParameters, Resources

Expand Down