Buckets:

download
raw
490 Bytes
import typing as t
from lzl.proxied.base import ProxyObject
class Settings:
redis_url: str = "redis://localhost:6379"
def get_settings() -> Settings:
return Settings()
# This is the usage pattern the user wants to work without explicit type hint
settings = ProxyObject(obj_getter=get_settings)
# We want to check if 'settings' is inferred as 'Settings'
# In a real IDE, we'd hover. Here we can use typing helpers or just run mypy.
if t.TYPE_CHECKING:
reveal_type(settings)

Xet Storage Details

Size:
490 Bytes
·
Xet hash:
90324151fa99f202e90d3f89fc8b37e8ee064a4847bb961f7a73fd9081d53166

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.