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
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand Down
10 changes: 5 additions & 5 deletions infisical_sdk/infisical_requests.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any, Dict, Generic, Optional, TypeVar
from typing import Any, Dict, Generic, Optional, TypeVar, Type
from urllib.parse import urljoin
import requests
from dataclasses import dataclass
Expand Down Expand Up @@ -90,7 +90,7 @@ def _handle_response(self, response: requests.Response) -> Dict[str, Any]:
def get(
self,
path: str,
model: type[T],
model: Type[T],
params: Optional[Dict[str, Any]] = None
) -> APIResponse[T]:

Expand All @@ -116,7 +116,7 @@ def get(
def post(
self,
path: str,
model: type[T],
model: Type[T],
json: Optional[Dict[str, Any]] = None
) -> APIResponse[T]:

Expand All @@ -140,7 +140,7 @@ def post(
def patch(
self,
path: str,
model: type[T],
model: Type[T],
json: Optional[Dict[str, Any]] = None
) -> APIResponse[T]:

Expand All @@ -164,7 +164,7 @@ def patch(
def delete(
self,
path: str,
model: type[T],
model: Type[T],
json: Optional[Dict[str, Any]] = None
) -> APIResponse[T]:

Expand Down
Loading