Skip to content

Commit

Permalink
Fix issue #63, where pyright cannot recognize the correct type for so…
Browse files Browse the repository at this point in the history
…me client methods
  • Loading branch information
gtsystem committed Jun 17, 2024
1 parent df24477 commit ab43fdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lightkube/core/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
GlobalResource = TypeVar('GlobalResource', bound=r.GlobalResource)
GlobalSubResource = TypeVar('GlobalSubResource', bound=r.GlobalSubResource)
NamespacedSubResource = TypeVar('NamespacedSubResource', bound=r.NamespacedSubResource)
AllNamespacedResource = TypeVar('AllNamespacedResource', r.NamespacedResource, r.NamespacedSubResource)
AllNamespacedResource = TypeVar('AllNamespacedResource', bound=Union[r.NamespacedResource, r.NamespacedSubResource])
Resource = TypeVar('Resource', bound=r.Resource)
LabelValue = Union[str, None, operators.Operator, Iterable]
FieldValue = Union[str, operators.BinaryOperator, operators.SequenceOperator]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name='lightkube',
version="0.15.2",
version="0.15.3",
description='Lightweight kubernetes client library',
long_description=Path("README.md").read_text(),
long_description_content_type="text/markdown",
Expand Down

0 comments on commit ab43fdf

Please sign in to comment.