Skip to content

Commit

Permalink
chore: store
Browse files Browse the repository at this point in the history
  • Loading branch information
AtticusZeller committed Nov 7, 2024
1 parent fa38960 commit bf692cd
Show file tree
Hide file tree
Showing 9 changed files with 357 additions and 386 deletions.
180 changes: 62 additions & 118 deletions .vscode/PythonImportHelper-v2-Completion.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,22 +179,6 @@
"detail": "app.schemas",
"documentation": {}
},
{
"label": "Token",
"importPath": "app.schemas",
"description": "app.schemas",
"isExtraImport": true,
"detail": "app.schemas",
"documentation": {}
},
{
"label": "Token",
"importPath": "app.schemas",
"description": "app.schemas",
"isExtraImport": true,
"detail": "app.schemas",
"documentation": {}
},
{
"label": "items",
"importPath": "app.api.api_v1.endpoints",
Expand Down Expand Up @@ -388,22 +372,6 @@
"detail": "supabase._async.client",
"documentation": {}
},
{
"label": "AsyncClient",
"importPath": "supabase._async.client",
"description": "supabase._async.client",
"isExtraImport": true,
"detail": "supabase._async.client",
"documentation": {}
},
{
"label": "AsyncClient",
"importPath": "supabase._async.client",
"description": "supabase._async.client",
"isExtraImport": true,
"detail": "supabase._async.client",
"documentation": {}
},
{
"label": "create_client",
"importPath": "supabase._async.client",
Expand Down Expand Up @@ -460,6 +428,30 @@
"detail": "pydantic",
"documentation": {}
},
{
"label": "HttpUrl",
"importPath": "pydantic",
"description": "pydantic",
"isExtraImport": true,
"detail": "pydantic",
"documentation": {}
},
{
"label": "PostgresDsn",
"importPath": "pydantic",
"description": "pydantic",
"isExtraImport": true,
"detail": "pydantic",
"documentation": {}
},
{
"label": "computed_field",
"importPath": "pydantic",
"description": "pydantic",
"isExtraImport": true,
"detail": "pydantic",
"documentation": {}
},
{
"label": "BaseModel",
"importPath": "pydantic",
Expand Down Expand Up @@ -500,6 +492,14 @@
"detail": "pydantic",
"documentation": {}
},
{
"label": "MultiHostUrl",
"importPath": "pydantic_core",
"description": "pydantic_core",
"isExtraImport": true,
"detail": "pydantic_core",
"documentation": {}
},
{
"label": "BaseSettings",
"importPath": "pydantic_settings",
Expand Down Expand Up @@ -629,6 +629,22 @@
"detail": "app.core.events",
"documentation": {}
},
{
"label": "RotatingFileHandler",
"importPath": "logging.handlers",
"description": "logging.handlers",
"isExtraImport": true,
"detail": "logging.handlers",
"documentation": {}
},
{
"label": "Path",
"importPath": "pathlib",
"description": "pathlib",
"isExtraImport": true,
"detail": "pathlib",
"documentation": {}
},
{
"label": "pytest",
"kind": 6,
Expand All @@ -639,19 +655,19 @@
"documentation": {}
},
{
"label": "Faker",
"importPath": "faker",
"description": "faker",
"label": "app",
"importPath": "src.app.main",
"description": "src.app.main",
"isExtraImport": true,
"detail": "faker",
"detail": "src.app.main",
"documentation": {}
},
{
"label": "Faker",
"importPath": "faker",
"description": "faker",
"label": "Token",
"importPath": "src.app.schemas",
"description": "src.app.schemas",
"isExtraImport": true,
"detail": "faker",
"detail": "src.app.schemas",
"documentation": {}
},
{
Expand All @@ -664,18 +680,10 @@
},
{
"label": "TestClient",
"importPath": "starlette.testclient",
"description": "starlette.testclient",
"isExtraImport": true,
"detail": "starlette.testclient",
"documentation": {}
},
{
"label": "get_auth_header",
"importPath": "tests.utils",
"description": "tests.utils",
"importPath": "fastapi.testclient",
"description": "fastapi.testclient",
"isExtraImport": true,
"detail": "tests.utils",
"detail": "fastapi.testclient",
"documentation": {}
},
{
Expand All @@ -686,70 +694,6 @@
"detail": "tests.utils",
"documentation": {}
},
{
"label": "crud",
"importPath": "app",
"description": "app",
"isExtraImport": true,
"detail": "app",
"documentation": {}
},
{
"label": "Item",
"importPath": "app.schemas.item",
"description": "app.schemas.item",
"isExtraImport": true,
"detail": "app.schemas.item",
"documentation": {}
},
{
"label": "ItemCreate",
"importPath": "app.schemas.item",
"description": "app.schemas.item",
"isExtraImport": true,
"detail": "app.schemas.item",
"documentation": {}
},
{
"label": "ItemUpdate",
"importPath": "app.schemas.item",
"description": "app.schemas.item",
"isExtraImport": true,
"detail": "app.schemas.item",
"documentation": {}
},
{
"label": "RotatingFileHandler",
"importPath": "logging.handlers",
"description": "logging.handlers",
"isExtraImport": true,
"detail": "logging.handlers",
"documentation": {}
},
{
"label": "Path",
"importPath": "pathlib",
"description": "pathlib",
"isExtraImport": true,
"detail": "pathlib",
"documentation": {}
},
{
"label": "app",
"importPath": "app.main",
"description": "app.main",
"isExtraImport": true,
"detail": "app.main",
"documentation": {}
},
{
"label": "TestClient",
"importPath": "fastapi.testclient",
"description": "fastapi.testclient",
"isExtraImport": true,
"detail": "fastapi.testclient",
"documentation": {}
},
{
"label": "bin_dir",
"kind": 5,
Expand Down Expand Up @@ -890,7 +834,7 @@
"kind": 6,
"importPath": "src.app.core.config",
"description": "src.app.core.config",
"peekOfCode": "class Settings(BaseSettings):\n API_V1_STR: str = \"/api/v1\"\n SUPABASE_URL: str = Field(default_factory=lambda: os.getenv(\"SUPABASE_URL\"))\n SUPABASE_KEY: str = Field(default_factory=lambda: os.getenv(\"SUPABASE_KEY\"))\n SUPERUSER_EMAIL: str = Field(default_factory=lambda: os.getenv(\"SUPERUSER_EMAIL\"))\n SUPERUSER_PASSWORD: str = Field(default=lambda: os.getenv(\"SUPERUSER_PASSWORD\"))\n # SERVER_NAME: str\n SERVER_HOST: AnyHttpUrl = AnyHttpUrl(\"https://localhost\")\n SERVER_PORT: int = 8000\n # # TODO: the following need to follow the newest version of fastapi",
"peekOfCode": "class Settings(BaseSettings):\n API_V1_STR: str = \"/api/v1\"\n SUPABASE_URL: str = Field(default_factory=lambda: os.getenv(\"SUPABASE_URL\"))\n SUPABASE_KEY: str = Field(default_factory=lambda: os.getenv(\"SUPABASE_KEY\"))\n # SUPERUSER_EMAIL: str = Field(default_factory=lambda: os.getenv(\"SUPERUSER_EMAIL\"))\n # SUPERUSER_PASSWORD: str = Field(default=lambda: os.getenv(\"SUPERUSER_PASSWORD\"))\n # SERVER_NAME: str\n SERVER_HOST: AnyHttpUrl = AnyHttpUrl(\"https://localhost\")\n SERVER_PORT: int = 8000\n # # TODO: the following need to follow the newest version of fastapi",
"detail": "src.app.core.config",
"documentation": {}
},
Expand All @@ -917,7 +861,7 @@
"kind": 5,
"importPath": "src.app.core.config",
"description": "src.app.core.config",
"peekOfCode": "stream_handler = logging.StreamHandler()\nstream_handler.setFormatter(log_format)\nroot_logger.addHandler(stream_handler)\nlogger = logging.getLogger(__name__)\nload_dotenv()\nclass Settings(BaseSettings):\n API_V1_STR: str = \"/api/v1\"\n SUPABASE_URL: str = Field(default_factory=lambda: os.getenv(\"SUPABASE_URL\"))\n SUPABASE_KEY: str = Field(default_factory=lambda: os.getenv(\"SUPABASE_KEY\"))\n SUPERUSER_EMAIL: str = Field(default_factory=lambda: os.getenv(\"SUPERUSER_EMAIL\"))",
"peekOfCode": "stream_handler = logging.StreamHandler()\nstream_handler.setFormatter(log_format)\nroot_logger.addHandler(stream_handler)\nlogger = logging.getLogger(__name__)\nload_dotenv()\nclass Settings(BaseSettings):\n API_V1_STR: str = \"/api/v1\"\n SUPABASE_URL: str = Field(default_factory=lambda: os.getenv(\"SUPABASE_URL\"))\n SUPABASE_KEY: str = Field(default_factory=lambda: os.getenv(\"SUPABASE_KEY\"))\n # SUPERUSER_EMAIL: str = Field(default_factory=lambda: os.getenv(\"SUPERUSER_EMAIL\"))",
"detail": "src.app.core.config",
"documentation": {}
},
Expand All @@ -926,7 +870,7 @@
"kind": 5,
"importPath": "src.app.core.config",
"description": "src.app.core.config",
"peekOfCode": "logger = logging.getLogger(__name__)\nload_dotenv()\nclass Settings(BaseSettings):\n API_V1_STR: str = \"/api/v1\"\n SUPABASE_URL: str = Field(default_factory=lambda: os.getenv(\"SUPABASE_URL\"))\n SUPABASE_KEY: str = Field(default_factory=lambda: os.getenv(\"SUPABASE_KEY\"))\n SUPERUSER_EMAIL: str = Field(default_factory=lambda: os.getenv(\"SUPERUSER_EMAIL\"))\n SUPERUSER_PASSWORD: str = Field(default=lambda: os.getenv(\"SUPERUSER_PASSWORD\"))\n # SERVER_NAME: str\n SERVER_HOST: AnyHttpUrl = AnyHttpUrl(\"https://localhost\")",
"peekOfCode": "logger = logging.getLogger(__name__)\nload_dotenv()\nclass Settings(BaseSettings):\n API_V1_STR: str = \"/api/v1\"\n SUPABASE_URL: str = Field(default_factory=lambda: os.getenv(\"SUPABASE_URL\"))\n SUPABASE_KEY: str = Field(default_factory=lambda: os.getenv(\"SUPABASE_KEY\"))\n # SUPERUSER_EMAIL: str = Field(default_factory=lambda: os.getenv(\"SUPERUSER_EMAIL\"))\n # SUPERUSER_PASSWORD: str = Field(default=lambda: os.getenv(\"SUPERUSER_PASSWORD\"))\n # SERVER_NAME: str\n SERVER_HOST: AnyHttpUrl = AnyHttpUrl(\"https://localhost\")",
"detail": "src.app.core.config",
"documentation": {}
},
Expand Down
Loading

0 comments on commit bf692cd

Please sign in to comment.