Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.126.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Dec 12, 2023
1 parent 305e0c9 commit 57e8006
Show file tree
Hide file tree
Showing 12 changed files with 80 additions and 69 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ from hightouch.models import shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -109,7 +109,7 @@ from hightouch.models import shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -160,7 +160,7 @@ from hightouch.models import shared
s = hightouch.Hightouch(
server_idx=0,
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -191,7 +191,7 @@ from hightouch.models import shared
s = hightouch.Hightouch(
server_url="https://api.hightouch.com/api/v1",
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -250,7 +250,7 @@ from hightouch.models import shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down
10 changes: 9 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -662,4 +662,12 @@ Based on:
- OpenAPI Doc 1.0.0
- Speakeasy CLI 1.125.2 (2.210.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v3.1.3] .
- [python v3.1.3] .

## 2023-12-12 00:57:31
### Changes
Based on:
- OpenAPI Doc 1.0.0
- Speakeasy CLI 1.126.0 (2.213.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v3.2.0] .
2 changes: 1 addition & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ from hightouch.models import shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down
6 changes: 3 additions & 3 deletions docs/models/shared/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

## Fields

| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `bearer_auth` | *str* | :heavy_check_mark: | N/A | |
| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `bearer_auth` | *Optional[str]* | :heavy_minus_sign: | N/A |
44 changes: 22 additions & 22 deletions docs/sdks/hightouch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ from hightouch.models import shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -91,7 +91,7 @@ from hightouch.models import shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -158,7 +158,7 @@ from hightouch.models import shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -207,7 +207,7 @@ from hightouch.models import shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -268,7 +268,7 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -311,7 +311,7 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -354,7 +354,7 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -398,7 +398,7 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -441,7 +441,7 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -485,7 +485,7 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -527,7 +527,7 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -569,7 +569,7 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -611,7 +611,7 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -654,7 +654,7 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -701,7 +701,7 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -749,7 +749,7 @@ from hightouch.models import shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -789,7 +789,7 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -837,7 +837,7 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -883,7 +883,7 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -934,7 +934,7 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -1000,7 +1000,7 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down Expand Up @@ -1051,7 +1051,7 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch(
security=shared.Security(
bearer_auth="",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
),
)

Expand Down
10 changes: 5 additions & 5 deletions gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ configVersion: 1.0.0
management:
docChecksum: 7998dbff43d13b24f5ce8289e558ad2e
docVersion: 1.0.0
speakeasyVersion: 1.125.2
generationVersion: 2.210.6
speakeasyVersion: 1.126.0
generationVersion: 2.213.3
generation:
comments: {}
sdkClassName: hightouch
Expand All @@ -12,11 +12,11 @@ generation:
optionalPropertyRendering: withExample
features:
python:
core: 4.1.6
globalSecurity: 2.83.0
core: 4.3.0
globalSecurity: 2.83.1
globalServerURLs: 2.82.1
python:
version: 3.1.3
version: 3.2.0
author: Speakeasy
clientServerStatusCodesAsErrors: true
description: Python SDK for Hightouch API
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setuptools.setup(
name="hightouch",
version="3.1.3",
version="3.2.0",
author="Speakeasy",
description="Python SDK for Hightouch API",
long_description=long_description,
Expand Down
2 changes: 1 addition & 1 deletion src/hightouch/models/errors/validateerrorjson.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ class ValidateErrorJSON(Exception):


def __str__(self) -> str:
return utils.marshal_json(self)
return utils.marshal_json(self, type(self))
3 changes: 2 additions & 1 deletion src/hightouch/models/shared/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

from __future__ import annotations
import dataclasses
from typing import Optional


@dataclasses.dataclass
class Security:
bearer_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }})
bearer_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }})


Loading

0 comments on commit 57e8006

Please sign in to comment.