Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 5 additions & 1 deletion jigsawstack/sql.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any, Dict, List, Union, cast
from typing import Any, Dict, List, Union, cast, Literal
from typing_extensions import NotRequired, TypedDict
from .request import Request, RequestConfig
from .async_request import AsyncRequest
Expand All @@ -22,6 +22,10 @@ class SQLParams(TypedDict):
"""
The key used to store the database schema on Jigsawstack file Storage. Not required if sql_schema is specified.
"""
database: NotRequired[Literal["mysql", "postgresql", "sqlite"]]
"""
The type of database for the SQL query (mysql, postgresql, sqlite).
"""


class SQLResponse(TypedDict):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name="jigsawstack",
version="0.1.28",
version="0.1.29",
description="JigsawStack Python SDK",
long_description=open("README.md", encoding="utf8").read(),
long_description_content_type="text/markdown",
Expand Down