Skip to content

Commit 2e54713

Browse files
chore(internal): version bump (#23)
1 parent 6dfd119 commit 2e54713

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.0.1-alpha.0"
2+
".": "0.1.0-alpha.1"
33
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "lumaai"
3-
version = "0.0.1-alpha.0"
3+
version = "0.1.0-alpha.1"
44
description = "The official Python library for the lumaai API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

requirements-dev.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ markdown-it-py==3.0.0
4949
# via rich
5050
mdurl==0.1.2
5151
# via markdown-it-py
52-
mypy==1.11.2
52+
mypy==1.10.1
5353
mypy-extensions==1.0.0
5454
# via mypy
5555
nodeenv==1.8.0
@@ -70,7 +70,7 @@ pydantic-core==2.18.2
7070
# via pydantic
7171
pygments==2.18.0
7272
# via rich
73-
pyright==1.1.380
73+
pyright==1.1.374
7474
pytest==7.1.1
7575
# via pytest-asyncio
7676
pytest-asyncio==0.21.1

src/lumaai/_utils/_utils.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -363,13 +363,12 @@ def file_from_path(path: str) -> FileTypes:
363363

364364
def get_required_header(headers: HeadersLike, header: str) -> str:
365365
lower_header = header.lower()
366-
if is_mapping_t(headers):
367-
# mypy doesn't understand the type narrowing here
368-
for k, v in headers.items(): # type: ignore
366+
if isinstance(headers, Mapping):
367+
for k, v in headers.items():
369368
if k.lower() == lower_header and isinstance(v, str):
370369
return v
371370

372-
# to deal with the case where the header looks like Stainless-Event-Id
371+
""" to deal with the case where the header looks like Stainless-Event-Id """
373372
intercaps_header = re.sub(r"([^\w])(\w)", lambda pat: pat.group(1) + pat.group(2).upper(), header.capitalize())
374373

375374
for normalized_header in [header, lower_header, header.upper(), intercaps_header]:

src/lumaai/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "lumaai"
4-
__version__ = "0.0.1-alpha.0" # x-release-please-version
4+
__version__ = "0.1.0-alpha.1" # x-release-please-version

0 commit comments

Comments
 (0)