Files
thrillwiki_django_no_react/backend/stubs/environ.pyi
pacnpal d504d41de2 feat: complete monorepo structure with frontend and shared resources
- Add complete backend/ directory with full Django application
- Add frontend/ directory with Vite + TypeScript setup ready for Next.js
- Add comprehensive shared/ directory with:
  - Complete documentation and memory-bank archives
  - Media files and avatars (letters, park/ride images)
  - Deployment scripts and automation tools
  - Shared types and utilities
- Add architecture/ directory with migration guides
- Configure pnpm workspace for monorepo development
- Update .gitignore to exclude .django_tailwind_cli/ build artifacts
- Preserve all historical documentation in shared/docs/memory-bank/
- Set up proper structure for full-stack development with shared resources
2025-08-23 18:40:07 -04:00

87 lines
3.6 KiB
Python

"""Type stubs for django-environ to fix Pylance type checking issues."""
from typing import Any, Dict, List, Tuple, overload
class NoValue:
pass
class Env:
def __init__(self, **schema: Any) -> None: ...
@overload
def __call__(self, var_name: str) -> str: ...
@overload
def __call__(self, var_name: str, *, default: Any) -> Any: ...
def __call__(self, var_name: str, *, default: Any = NoValue()) -> Any: ...
@overload
def str(self, var_name: str) -> str: ...
@overload
def str(self, var_name: str, *, default: Any) -> str: ...
def str(self, var_name: str, *, default: Any = NoValue()) -> str: ...
@overload
def int(self, var_name: str) -> int: ...
@overload
def int(self, var_name: str, *, default: Any) -> int: ...
def int(self, var_name: str, *, default: Any = NoValue()) -> int: ...
@overload
def bool(self, var_name: str) -> bool: ...
@overload
def bool(self, var_name: str, *, default: Any) -> bool: ...
def bool(self, var_name: str, *, default: Any = NoValue()) -> bool: ...
@overload
def list(self, var_name: str) -> List[str]: ...
@overload
def list(self, var_name: str, *, default: Any) -> List[str]: ...
def list(self, var_name: str, *, default: Any = NoValue()) -> List[str]: ...
@overload
def db(self, var_name: str) -> Dict[str, Any]: ...
@overload
def db(self, var_name: str, *, default: Any) -> Dict[str, Any]: ...
def db(self, var_name: str, *, default: Any = NoValue()) -> Dict[str, Any]: ...
@overload
def cache(self, var_name: str) -> Dict[str, Any]: ...
@overload
def cache(self, var_name: str, *, default: Any) -> Dict[str, Any]: ...
def cache(self, var_name: str, *, default: Any = NoValue()) -> Dict[str, Any]: ...
@overload
def email(self, var_name: str) -> Dict[str, Any]: ...
@overload
def email(self, var_name: str, *, default: Any) -> Dict[str, Any]: ...
def email(self, var_name: str, *, default: Any = NoValue()) -> Dict[str, Any]: ...
@overload
def tuple(self, var_name: str) -> Tuple[str, ...]: ...
@overload
def tuple(self, var_name: str, *, default: Any) -> Tuple[str, ...]: ...
def tuple(self, var_name: str, *, default: Any = NoValue()) -> Tuple[str, ...]: ...
@overload
def dict(self, var_name: str) -> Dict[str, Any]: ...
@overload
def dict(self, var_name: str, *, default: Any) -> Dict[str, Any]: ...
def dict(self, var_name: str, *, default: Any = NoValue()) -> Dict[str, Any]: ...
@overload
def float(self, var_name: str) -> float: ...
@overload
def float(self, var_name: str, *, default: Any) -> float: ...
def float(self, var_name: str, *, default: Any = NoValue()) -> float: ...
@overload
def bytes(self, var_name: str) -> bytes: ...
@overload
def bytes(self, var_name: str, *, default: Any) -> bytes: ...
def bytes(self, var_name: str, *, default: Any = NoValue()) -> bytes: ...
@overload
def json(self, var_name: str) -> Any: ...
@overload
def json(self, var_name: str, *, default: Any) -> Any: ...
def json(self, var_name: str, *, default: Any = NoValue()) -> Any: ...
@overload
def path(self, var_name: str) -> str: ...
@overload
def path(self, var_name: str, *, default: Any) -> str: ...
def path(self, var_name: str, *, default: Any = NoValue()) -> str: ...
@overload
def url(self, var_name: str) -> str: ...
@overload
def url(self, var_name: str, *, default: Any) -> str: ...
def url(self, var_name: str, *, default: Any = NoValue()) -> str: ...
@staticmethod
def read_env(env_file: Any = None, **kwargs: Any) -> None: ...