smooth-py 0.3.2.dev20251030__tar.gz → 0.3.2.post0.dev20251031__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of smooth-py might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: smooth-py
3
- Version: 0.3.2.dev20251030
3
+ Version: 0.3.2.post0.dev20251031
4
4
  Summary:
5
5
  Author: Luca Pinchetti
6
6
  Author-email: luca@circlemind.co
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "smooth-py"
3
- version = "0.3.2.dev20251030"
3
+ version = "0.3.2.post0.dev20251031"
4
4
  description = ""
5
5
  authors = [
6
6
  {name = "Luca Pinchetti",email = "luca@circlemind.co"}
@@ -257,6 +257,8 @@ class TaskRequest(BaseModel):
257
257
  class BrowserSessionRequest(BaseModel):
258
258
  """Request model for creating a browser session."""
259
259
 
260
+ model_config = ConfigDict(extra="allow")
261
+
260
262
  profile_id: str | None = Field(
261
263
  default=None,
262
264
  description=(
@@ -319,10 +321,12 @@ class BrowserSessionRequest(BaseModel):
319
321
  class BrowserSessionResponse(BaseModel):
320
322
  """Browser session response model."""
321
323
 
324
+ model_config = ConfigDict(extra="allow")
325
+
322
326
  profile_id: str = Field(
323
327
  description="The ID of the browser profile associated with the opened browser instance."
324
328
  )
325
- live_id: str | None = Field(description="The ID of the live browser session.")
329
+ live_id: str | None = Field(default=None, description="The ID of the live browser session.")
326
330
  live_url: str | None = Field(
327
331
  default=None, description="The live URL to interact with the browser session."
328
332
  )
@@ -364,6 +368,8 @@ class BrowserSessionResponse(BaseModel):
364
368
  class BrowserProfilesResponse(BaseModel):
365
369
  """Response model for listing browser profiles."""
366
370
 
371
+ model_config = ConfigDict(extra="allow")
372
+
367
373
  profile_ids: list[str] = Field(description="The IDs of the browser profiles.")
368
374
 
369
375
  @model_validator(mode="before")
@@ -421,6 +427,8 @@ class BrowserSessionsResponse(BrowserProfilesResponse):
421
427
  class UploadFileResponse(BaseModel):
422
428
  """Response model for uploading a file."""
423
429
 
430
+ model_config = ConfigDict(extra="allow")
431
+
424
432
  id: str = Field(description="The ID assigned to the uploaded file.")
425
433
 
426
434