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 flame_hub/_auth_flows.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import time
import typing as t

import httpx
import httpx2 as httpx
from pydantic import BaseModel

from flame_hub._defaults import DEFAULT_AUTH_BASE_URL
Expand Down
2 changes: 1 addition & 1 deletion flame_hub/_base_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from collections.abc import Iterable
from enum import Enum

import httpx
import httpx2 as httpx
import typing_extensions as te
from pydantic import BaseModel, ValidatorFunctionWrapHandler, ValidationError, ConfigDict

Expand Down
2 changes: 1 addition & 1 deletion flame_hub/_core_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import uuid
from datetime import datetime

import httpx
import httpx2 as httpx
import typing_extensions as te
from pydantic import BaseModel, WrapValidator, Field, BeforeValidator

Expand Down
2 changes: 1 addition & 1 deletion flame_hub/_exceptions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from json import JSONDecodeError

import httpx
import httpx2 as httpx
from pydantic import ValidationError, BaseModel, ConfigDict


Expand Down
2 changes: 1 addition & 1 deletion flame_hub/_storage_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import uuid
from datetime import datetime

import httpx
import httpx2 as httpx
import typing_extensions as te
from pydantic import BaseModel

Expand Down
54 changes: 34 additions & 20 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ readme = "README.md"
requires-python = ">=3.10,<4"
dependencies = [
"pydantic[email] (>=2.12.5,<3.0.0)",
"httpx (>=0.28.0,<0.29.0)",
"httpcore (>=1.0.9,<2.0.0)", # dep of httpx, contains vulnerable h11 dep so needs to be patched here
"httpx2 (>=2.7.0,<3.0.0)",
]
license = "Apache-2.0"
classifiers = [
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import random

import httpx
import httpx2 as httpx
import pytest
from testcontainers.core.container import DockerContainer
from testcontainers.core.network import Network
Expand Down
2 changes: 1 addition & 1 deletion tests/test_flow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import httpx
import httpx2 as httpx
import pytest

from flame_hub import HubAPIError
Expand Down