Skip to content
Open
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
22,232 changes: 12,755 additions & 9,477 deletions .speakeasy/out.openapi.yaml

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
speakeasyVersion: 1.700.2
speakeasyVersion: 1.722.0
sources:
Squadcast:
sourceNamespace: squadcast
sourceRevisionDigest: sha256:e6ebdcd6e064b2c3e0a766a8501410e67764d4054035dd866315f0757b491876
sourceBlobDigest: sha256:68f8e0d2a0ccbcc1574b16171d5c0991e9aa368ec3921f73f44a4223ae21494b
sourceRevisionDigest: sha256:1d31bc4d3fc77a8cd1b9700968b411888c1330c1a7eaa512a3da31aee9a15d5b
sourceBlobDigest: sha256:9d7b25d0d7663ba0faff3b3fdcd0aebe83b703f793a4c58adfd7908468a90805
tags:
- latest
- speakeasy-sdk-regen-1770336306
- 1.0.0
targets:
squadcast-sdk:
source: Squadcast
sourceNamespace: squadcast
sourceRevisionDigest: sha256:e6ebdcd6e064b2c3e0a766a8501410e67764d4054035dd866315f0757b491876
sourceBlobDigest: sha256:68f8e0d2a0ccbcc1574b16171d5c0991e9aa368ec3921f73f44a4223ae21494b
sourceRevisionDigest: sha256:1d31bc4d3fc77a8cd1b9700968b411888c1330c1a7eaa512a3da31aee9a15d5b
sourceBlobDigest: sha256:9d7b25d0d7663ba0faff3b3fdcd0aebe83b703f793a4c58adfd7908468a90805
codeSamplesNamespace: squadcast-typescript-typescript-python-code-samples
codeSamplesRevisionDigest: sha256:0b97918d8cd60c7120bb37202b8cbc0c7b19183f29cb29dd227f5862c09ef919
codeSamplesRevisionDigest: sha256:2cc255da97ba55f8ddddc2ffa55e8d1a53ac414810fe7f13612def18ef3c8bb7
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
502 changes: 261 additions & 241 deletions squadcastv1/.speakeasy/gen.lock

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion squadcastv1/.speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ generation:
schemas:
allOfMergeStrategy: shallowMerge
requestBodyFieldName: ""
versioningStrategy: automatic
persistentEdits: {}
tests:
generateTests: false
generateNewTests: true
skipResponseBodyAssertions: false
python:
version: 0.4.0
version: 0.5.0
additionalDependencies:
dev: {}
main: {}
Expand All @@ -49,10 +50,14 @@ python:
enableCustomCodeRegions: false
enumFormat: union
fixFlags:
asyncPaginationSep2025: false
conflictResistantModelImportsFeb2026: false
responseRequiredSep2024: true
flattenGlobalSecurity: true
flattenRequests: true
flatteningOrder: parameters-first
forwardCompatibleEnumsByDefault: false
forwardCompatibleUnionsByDefault: "false"
imports:
option: openapi
paths:
Expand Down
702 changes: 351 additions & 351 deletions squadcastv1/README-PYPI.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion squadcastv1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ It's also possible to write a standalone Python script without needing to set up
```python
#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.9"
# requires-python = ">=3.10"
# dependencies = [
# "squadcast_sdk",
# ]
Expand Down
12 changes: 11 additions & 1 deletion squadcastv1/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,14 @@ Based on:
### Generated
- [python v0.3.5] squadcastv1
### Releases
- [PyPI v0.3.5] https://pypi.org/project/squadcast_sdk/0.3.5 - squadcastv1
- [PyPI v0.3.5] https://pypi.org/project/squadcast_sdk/0.3.5 - squadcastv1

## 2026-02-18 00:08:16
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.722.0 (2.829.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.5.0] squadcastv1
### Releases
- [PyPI v0.5.0] https://pypi.org/project/squadcast_sdk/0.5.0 - squadcastv1
9 changes: 9 additions & 0 deletions squadcastv1/docs/models/sqattachrunbooks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# SqAttachRunbooks


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| `name` | [models.WorkflowsUpdateWorkflowActionName](../models/workflowsupdateworkflowactionname.md) | :heavy_check_mark: | N/A |
| `data` | [models.WorkflowsUpdateWorkflowActionData](../models/workflowsupdateworkflowactiondata.md) | :heavy_check_mark: | N/A |
8 changes: 8 additions & 0 deletions squadcastv1/docs/models/workflowsupdateworkflowactiondata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# WorkflowsUpdateWorkflowActionData


## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| `runbooks` | List[[models.V3WorkflowsRunbookResponse](../models/v3workflowsrunbookresponse.md)] | :heavy_check_mark: | N/A |
8 changes: 8 additions & 0 deletions squadcastv1/docs/models/workflowsupdateworkflowactionname.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# WorkflowsUpdateWorkflowActionName


## Values

| Name | Value |
| -------------------- | -------------------- |
| `SQ_ATTACH_RUNBOOKS` | sq_attach_runbooks |
115 changes: 115 additions & 0 deletions squadcastv1/docs/models/workflowsupdateworkflowactionresponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
# WorkflowsUpdateWorkflowActionResponse

The request has succeeded.


## Supported Types

### `models.SqAttachRunbooks`

```python
value: models.SqAttachRunbooks = /* values here */
```

### `models.V3WorkflowsSqMarkIncidentSLOAffecting`

```python
value: models.V3WorkflowsSqMarkIncidentSLOAffecting = /* values here */
```

### `models.V3WorkflowsSqTriggerManualWebhook`

```python
value: models.V3WorkflowsSqTriggerManualWebhook = /* values here */
```

### `models.V3WorkflowsUpdateIncidentPriority`

```python
value: models.V3WorkflowsUpdateIncidentPriority = /* values here */
```

### `models.V3WorkflowsSqCreateStatusPageIssue`

```python
value: models.V3WorkflowsSqCreateStatusPageIssue = /* values here */
```

### `models.V3WorkflowsSqAddIncidentNote`

```python
value: models.V3WorkflowsSqAddIncidentNote = /* values here */
```

### `models.V3WorkflowsSlackArchiveChannel`

```python
value: models.V3WorkflowsSlackArchiveChannel = /* values here */
```

### `models.V3WorkflowsSqAddCommunicationChannel`

```python
value: models.V3WorkflowsSqAddCommunicationChannel = /* values here */
```

### `models.V3WorkflowsSlackMessageChannel`

```python
value: models.V3WorkflowsSlackMessageChannel = /* values here */
```

### `models.V3WorkflowsSlackMessageUser`

```python
value: models.V3WorkflowsSlackMessageUser = /* values here */
```

### `models.V3WorkflowsSqMakeHTTPCall`

```python
value: models.V3WorkflowsSqMakeHTTPCall = /* values here */
```

### `models.V3WorkflowsSlackCreateIncidentChannel`

```python
value: models.V3WorkflowsSlackCreateIncidentChannel = /* values here */
```

### `models.V3WorkflowsJiraCreateTicket`

```python
value: models.V3WorkflowsJiraCreateTicket = /* values here */
```

### `models.V3WorkflowsMsTeamsMessageChannel`

```python
value: models.V3WorkflowsMsTeamsMessageChannel = /* values here */
```

### `models.V3WorkflowsMsTeamsMessageUser`

```python
value: models.V3WorkflowsMsTeamsMessageUser = /* values here */
```

### `models.V3WorkflowsSqSendEmail`

```python
value: models.V3WorkflowsSqSendEmail = /* values here */
```

### `models.V3WorkflowsMsTeamsCreateMeetingLink`

```python
value: models.V3WorkflowsMsTeamsCreateMeetingLink = /* values here */
```

### `Any`

```python
value: Any = /* values here */
```

2 changes: 1 addition & 1 deletion squadcastv1/docs/sdks/workflowssdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ with SquadcastSDK(

### Response

**[models.V3WorkflowsActionResponse](../../models/v3workflowsactionresponse.md)**
**[models.WorkflowsUpdateWorkflowActionResponse](../../models/workflowsupdateworkflowactionresponse.md)**

### Errors

Expand Down
2 changes: 1 addition & 1 deletion squadcastv1/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ persistent=yes

# Minimum Python version to use for version dependent checks. Will default to
# the version used to run pylint.
py-version=3.9
py-version=3.10

# Discover python modules and packages in the file system subtree.
recursive=no
Expand Down
6 changes: 3 additions & 3 deletions squadcastv1/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[project]
name = "squadcast_sdk"
version = "0.4.0"
version = "0.5.0"
description = "Python Client SDK Generated by Speakeasy."
authors = [{ name = "Speakeasy" },]
readme = "README-PYPI.md"
requires-python = ">=3.9.2"
requires-python = ">=3.10"
dependencies = [
"httpcore >=1.0.9",
"httpx >=0.28.1",
"jsonpath-python >=1.0.6",
"pydantic >=2.11.2",
]
urls.repository = "https://github.com/SquadcastHub/squadcast-sdk-python.git"
urls.repository = "https://github.com/solarwinds/squadcast-sdk-python.git"

[dependency-groups]
dev = [
Expand Down
2 changes: 1 addition & 1 deletion squadcastv1/scripts/prepare_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
try:
with open("README.md", "r", encoding="utf-8") as rh:
readme_contents = rh.read()
GITHUB_URL = "https://github.com/SquadcastHub/squadcast-sdk-python.git"
GITHUB_URL = "https://github.com/solarwinds/squadcast-sdk-python.git"
GITHUB_URL = (
GITHUB_URL[: -len(".git")] if GITHUB_URL.endswith(".git") else GITHUB_URL
)
Expand Down
6 changes: 3 additions & 3 deletions squadcastv1/src/squadcast_sdk/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import importlib.metadata

__title__: str = "squadcast_sdk"
__version__: str = "0.4.0"
__version__: str = "0.5.0"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.801.2"
__user_agent__: str = "speakeasy-sdk/python 0.4.0 2.801.2 1.0.0 squadcast_sdk"
__gen_version__: str = "2.829.1"
__user_agent__: str = "speakeasy-sdk/python 0.5.0 2.829.1 1.0.0 squadcast_sdk"

try:
if __package__ is not None:
Expand Down
41 changes: 6 additions & 35 deletions squadcastv1/src/squadcast_sdk/errors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

from .squadcastsdkerror import SquadcastSDKError
from typing import TYPE_CHECKING
from importlib import import_module
import builtins
import sys

from squadcast_sdk.utils.dynamic_imports import lazy_getattr, lazy_dir

if TYPE_CHECKING:
from .analytics_getorganalyticsop import (
Expand Down Expand Up @@ -116,39 +115,11 @@
}


def dynamic_import(modname, retries=3):
for attempt in range(retries):
try:
return import_module(modname, __package__)
except KeyError:
# Clear any half-initialized module and retry
sys.modules.pop(modname, None)
if attempt == retries - 1:
break
raise KeyError(f"Failed to import module '{modname}' after {retries} attempts")


def __getattr__(attr_name: str) -> object:
module_name = _dynamic_imports.get(attr_name)
if module_name is None:
raise AttributeError(
f"No {attr_name} found in _dynamic_imports for module name -> {__name__} "
)

try:
module = dynamic_import(module_name)
result = getattr(module, attr_name)
return result
except ImportError as e:
raise ImportError(
f"Failed to import {attr_name} from {module_name}: {e}"
) from e
except AttributeError as e:
raise AttributeError(
f"Failed to get {attr_name} from {module_name}: {e}"
) from e
return lazy_getattr(
attr_name, package=__package__, dynamic_imports=_dynamic_imports
)


def __dir__():
lazy_attrs = builtins.list(_dynamic_imports.keys())
return builtins.sorted(lazy_attrs)
return lazy_dir(dynamic_imports=_dynamic_imports)
Loading