Skip to content
Open
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
4 changes: 2 additions & 2 deletions stubs/google-cloud-ndb/google/cloud/ndb/global_cache.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class _InProcessGlobalCache(GlobalCache):
class RedisCache(GlobalCache):
transient_errors: Incomplete
@classmethod
def from_environment(cls, strict_read: bool = False, strict_write: bool = True) -> Self: ...
def from_environment(cls, strict_read: bool = False, strict_write: bool = True) -> Self | None: ...
redis: Incomplete
strict_read: Incomplete
strict_write: Incomplete
Expand All @@ -65,7 +65,7 @@ class MemcacheCache(GlobalCache):

transient_errors: Incomplete
@classmethod
def from_environment(cls, max_pool_size: int = 4, strict_read: bool = False, strict_write: bool = True) -> Self: ...
def from_environment(cls, max_pool_size: int = 4, strict_read: bool = False, strict_write: bool = True) -> Self | None: ...
client: Incomplete
strict_read: Incomplete
strict_write: Incomplete
Expand Down
Loading