Skip to content

release: 0.1.0-alpha.2 #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 26, 2024
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 .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.1"
".": "0.1.0-alpha.2"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 18
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-825ce446567db7e2dcda332131368fcaf1986bae2eff640205b4e1f7b582aaa4.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-208ded3468d1fbad85834462bced46e59d6cff963b347f9ba69c0b4fabe483c0.yml
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.1.0-alpha.2 (2024-10-26)

Full Changelog: [v0.1.0-alpha.1...v0.1.0-alpha.2](https://github.com/browserbase/sdk-python/compare/v0.1.0-alpha.1...v0.1.0-alpha.2)

### Features

* **api:** update via SDK Studio ([#10](https://github.com/browserbase/sdk-python/issues/10)) ([d33635f](https://github.com/browserbase/sdk-python/commit/d33635ff54944daeb6dff57fa901d1703a289bbc))

## 0.1.0-alpha.1 (2024-10-25)

Full Changelog: [v0.0.1-alpha.1...v0.1.0-alpha.1](https://github.com/browserbase/sdk-python/compare/v0.0.1-alpha.1...v0.1.0-alpha.1)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "browserbase"
version = "0.1.0-alpha.1"
version = "0.1.0-alpha.2"
description = "The official Python library for the browserbase API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/browserbase/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "browserbase"
__version__ = "0.1.0-alpha.1" # x-release-please-version
__version__ = "0.1.0-alpha.2" # x-release-please-version
38 changes: 26 additions & 12 deletions src/browserbase/types/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,46 @@
class Session(BaseModel):
id: str

created_at: datetime = FieldInfo(alias="createdAt")
created_at: datetime

expires_at: datetime = FieldInfo(alias="expiresAt")
expires_at: datetime

keep_alive: bool = FieldInfo(alias="keepAlive")
keep_alive: bool
"""Indicates if the Session was created to be kept alive upon disconnections"""

project_id: str = FieldInfo(alias="projectId")
project_id: str
"""The Project ID linked to the Session."""

proxy_bytes: int = FieldInfo(alias="proxyBytes")
"""Bytes used via the [Proxy](/features/stealth-mode#proxies-and-residential-ips)"""
region: str

started_at: datetime = FieldInfo(alias="startedAt")
started_at: datetime

status: Literal["RUNNING", "ERROR", "TIMED_OUT", "COMPLETED"]

updated_at: datetime = FieldInfo(alias="updatedAt")
updated_at: datetime

avg_cpu_usage: Optional[int] = FieldInfo(alias="avgCpuUsage", default=None)
avg_cpu_usage: Optional[int] = None
"""CPU used by the Session"""

context_id: Optional[str] = FieldInfo(alias="contextId", default=None)
connect_url: Optional[str] = FieldInfo(alias="connectUrl", default=None)

context_id: Optional[str] = None
"""Optional. The Context linked to the Session."""

ended_at: Optional[datetime] = FieldInfo(alias="endedAt", default=None)
ended_at: Optional[datetime] = None

is_idle: Optional[bool] = None

memory_usage: Optional[int] = FieldInfo(alias="memoryUsage", default=None)
memory_usage: Optional[int] = None
"""Memory used by the Session"""

proxy_bytes: Optional[int] = None
"""Bytes used via the [Proxy](/features/stealth-mode#proxies-and-residential-ips)"""

selenium_remote_url: Optional[str] = FieldInfo(alias="seleniumRemoteUrl", default=None)

signing_key: Optional[str] = FieldInfo(alias="signingKey", default=None)

viewport_height: Optional[int] = None

viewport_width: Optional[int] = None
Loading