Skip to content

Commit

Permalink
[python] bump dependencies and version (#4692)
Browse files Browse the repository at this point in the history
wait for fix: Azure/cadl-ranch#748 and new
version of cadl-ranch

---------

Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
  • Loading branch information
tadelesh and msyyc authored Oct 12, 2024
1 parent eeee93e commit 2daeb6f
Show file tree
Hide file tree
Showing 5 changed files with 422 additions and 207 deletions.
6 changes: 5 additions & 1 deletion packages/http-client-python/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Change Log - @typespec/http-client-python

## X.X.X
## 0.3.0

### Bump dependencies

- Bump dependencies

### Bug Fixes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

@pytest.fixture
async def client():
async with NotVersionedClient(endpoint="http://localhost:3000", api_version="v1.0") as client:
async with NotVersionedClient(endpoint="http://localhost:3000") as client:
yield client


Expand All @@ -20,9 +20,9 @@ async def test_without_api_version(client: NotVersionedClient):

@pytest.mark.asyncio
async def test_with_query_api_version(client: NotVersionedClient):
await client.with_query_api_version()
await client.with_query_api_version(api_version="v1.0")


@pytest.mark.asyncio
async def test_with_path_api_version(client: NotVersionedClient):
await client.with_path_api_version()
await client.with_path_api_version(api_version="v1.0")
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

@pytest.fixture
def client():
with NotVersionedClient(endpoint="http://localhost:3000", api_version="v1.0") as client:
with NotVersionedClient(endpoint="http://localhost:3000") as client:
yield client


Expand All @@ -18,8 +18,8 @@ def test_without_api_version(client: NotVersionedClient):


def test_with_query_api_version(client: NotVersionedClient):
client.with_query_api_version()
client.with_query_api_version(api_version="v1.0")


def test_with_path_api_version(client: NotVersionedClient):
client.with_path_api_version()
client.with_path_api_version(api_version="v1.0")
Loading

0 comments on commit 2daeb6f

Please sign in to comment.