Skip to content

Commit 1c82d94

Browse files
authored
Merge pull request #85 from steel-dev/release-please--branches--main--changes--next
release: 0.1.0-beta.10
2 parents fcaf9a7 + bea7b93 commit 1c82d94

File tree

8 files changed

+54
-11
lines changed

8 files changed

+54
-11
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ USER vscode
66
RUN curl -sSf https://rye.astral.sh/get | RYE_VERSION="0.35.0" RYE_INSTALL_OPTION="--yes" bash
77
ENV PATH=/home/vscode/.rye/shims:$PATH
88

9-
RUN echo "[[ -d .venv ]] && source .venv/bin/activate" >> /home/vscode/.bashrc
9+
RUN echo "[[ -d .venv ]] && source .venv/bin/activate || export PATH=\$PATH" >> /home/vscode/.bashrc

.devcontainer/devcontainer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
}
2525
}
2626
}
27+
},
28+
"features": {
29+
"ghcr.io/devcontainers/features/node:1": {}
2730
}
2831

2932
// Features to add to the dev container. More info: https://containers.dev/features.

.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.1.0-beta.9"
2+
".": "0.1.0-beta.10"
33
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 9
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/nen-labs%2Fsteel-9b418de74a20cd1828e67c620c627a54e0f57219d44cba0a48c9e644f5336c9e.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/nen-labs%2Fsteel-7c68fa4164ba7295d709a782dd4a50b60a84503307f4be771226334ea78f530d.yml

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## 0.1.0-beta.10 (2025-02-24)
4+
5+
Full Changelog: [v0.1.0-beta.9...v0.1.0-beta.10](https://github.com/steel-dev/steel-python/compare/v0.1.0-beta.9...v0.1.0-beta.10)
6+
7+
### Features
8+
9+
* **api:** api update ([#86](https://github.com/steel-dev/steel-python/issues/86)) ([f59bdb3](https://github.com/steel-dev/steel-python/commit/f59bdb3f91a45e416a8390ff5940c710558c8d5e))
10+
11+
12+
### Chores
13+
14+
* **internal:** fix devcontainers setup ([#84](https://github.com/steel-dev/steel-python/issues/84)) ([c616d73](https://github.com/steel-dev/steel-python/commit/c616d733f470e2b34e3677f18f2fdb7934f3abc8))
15+
316
## 0.1.0-beta.9 (2025-02-21)
417

518
Full Changelog: [v0.1.0-beta.8...v0.1.0-beta.9](https://github.com/steel-dev/steel-python/compare/v0.1.0-beta.8...v0.1.0-beta.9)

pyproject.toml

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

src/steel/_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__ = "steel"
4-
__version__ = "0.1.0-beta.9" # x-release-please-version
4+
__version__ = "0.1.0-beta.10" # x-release-please-version

src/steel/types/session_context.py

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,44 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from typing import Dict, List
3+
from typing import Dict, List, Optional
4+
from typing_extensions import Literal
45

56
from pydantic import Field as FieldInfo
67

78
from .._models import BaseModel
89

9-
__all__ = ["SessionContext"]
10+
__all__ = ["SessionContext", "Cookie"]
11+
12+
13+
class Cookie(BaseModel):
14+
domain: str
15+
"""Domain the cookie belongs to"""
16+
17+
name: str
18+
"""Name of the cookie"""
19+
20+
value: str
21+
"""Value of the cookie"""
22+
23+
expires: Optional[float] = None
24+
"""Unix timestamp when the cookie expires"""
25+
26+
http_only: Optional[bool] = FieldInfo(alias="httpOnly", default=None)
27+
"""Whether the cookie is HTTP only"""
28+
29+
path: Optional[str] = None
30+
"""Path the cookie is valid for"""
31+
32+
same_site: Optional[Literal["Strict", "Lax", "None"]] = FieldInfo(alias="sameSite", default=None)
33+
"""SameSite attribute of the cookie"""
34+
35+
secure: Optional[bool] = None
36+
"""Whether the cookie requires HTTPS"""
1037

1138

1239
class SessionContext(BaseModel):
13-
cookies: List[Dict[str, object]]
14-
"""List of cookies associated with the session"""
40+
cookies: Optional[List[Cookie]] = None
41+
"""Cookies from the session"""
1542

16-
local_storage: Dict[str, object] = FieldInfo(alias="localStorage")
17-
"""Local storage data associated with the session"""
43+
local_storage: Optional[Dict[str, Dict[str, object]]] = FieldInfo(alias="localStorage", default=None)
44+
"""Local storage items from the session"""

0 commit comments

Comments
 (0)