Skip to content

Commit

Permalink
Regen type stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
le717 committed Nov 15, 2022
1 parent a04bfb0 commit 3de34f1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions sys_vars.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ from datetime import datetime
from pathlib import Path
from typing import Any, Dict, List, Optional, Union

class SysVarNotFoundError(Exception): ...
class SysVarNotFoundError(Exception):
var_key: str
var_type: str
var_path: str
def __init__(self, *args: object, **kwargs: Dict[str, str]) -> None: ...

def get(key: str, *, default: Optional[Any] = ...) -> str: ...
def get(key: str, *, default: Optional[Any] = ..., **kwargs: Dict[str, str]) -> str: ...
def get_bool(key: str, **kwargs: Dict[str, Any]) -> bool: ...
def get_datetime(key: str, **kwargs: Dict[str, Any]) -> datetime: ...
def get_float(key: str, **kwargs: Dict[str, Any]) -> float: ...
Expand Down

0 comments on commit 3de34f1

Please sign in to comment.