Skip to content

Commit dd3cc4e

Browse files
bokelleyclaude
andcommitted
chore: regenerate types with proper formatting
The CI schema validation was failing because pre-commit hooks reformatted the generated _generated.py file differently than the code generator. Regenerated types and applied black formatting to ensure consistency. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 8b20dcb commit dd3cc4e

File tree

137 files changed

+1604
-1596
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+1604
-1596
lines changed

src/adcp/types/_generated.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
DO NOT EDIT MANUALLY.
1111
1212
Generated from: https://github.com/adcontextprotocol/adcp/tree/main/schemas
13-
Generation date: 2025-11-22 21:45:32 UTC
13+
Generation date: 2025-11-29 12:00:45 UTC
1414
"""
1515

1616
# ruff: noqa: E501, I001

src/adcp/types/generated_poc/adagents.py

Lines changed: 151 additions & 151 deletions
Large diffs are not rendered by default.
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: core/activation_key.json
3-
# timestamp: 2025-11-22T15:23:24+00:00
3+
# timestamp: 2025-11-29T12:00:45+00:00
44

55
from __future__ import annotations
66

@@ -12,19 +12,19 @@
1212

1313
class ActivationKey1(AdCPBaseModel):
1414
model_config = ConfigDict(
15-
extra="forbid",
15+
extra='forbid',
1616
)
1717
segment_id: Annotated[
1818
str,
19-
Field(description="The platform-specific segment identifier to use in campaign targeting"),
19+
Field(description='The platform-specific segment identifier to use in campaign targeting'),
2020
]
21-
type: Annotated[Literal["segment_id"], Field(description="Segment ID based targeting")]
21+
type: Annotated[Literal['segment_id'], Field(description='Segment ID based targeting')]
2222

2323

2424
class ActivationKey2(AdCPBaseModel):
2525
model_config = ConfigDict(
26-
extra="forbid",
26+
extra='forbid',
2727
)
28-
key: Annotated[str, Field(description="The targeting parameter key")]
29-
type: Annotated[Literal["key_value"], Field(description="Key-value pair based targeting")]
30-
value: Annotated[str, Field(description="The targeting parameter value")]
28+
key: Annotated[str, Field(description='The targeting parameter key')]
29+
type: Annotated[Literal['key_value'], Field(description='Key-value pair based targeting')]
30+
value: Annotated[str, Field(description='The targeting parameter value')]
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: core/assets/audio_asset.json
3-
# timestamp: 2025-11-22T15:23:24+00:00
3+
# timestamp: 2025-11-29T12:00:45+00:00
44

55
from __future__ import annotations
66

@@ -12,15 +12,15 @@
1212

1313
class AudioAsset(AdCPBaseModel):
1414
model_config = ConfigDict(
15-
extra="forbid",
15+
extra='forbid',
1616
)
1717
bitrate_kbps: Annotated[
18-
int | None, Field(description="Audio bitrate in kilobits per second", ge=1)
18+
int | None, Field(description='Audio bitrate in kilobits per second', ge=1)
1919
] = None
2020
duration_ms: Annotated[
21-
int | None, Field(description="Audio duration in milliseconds", ge=0)
21+
int | None, Field(description='Audio duration in milliseconds', ge=0)
2222
] = None
23-
format: Annotated[str | None, Field(description="Audio file format (mp3, wav, aac, etc.)")] = (
23+
format: Annotated[str | None, Field(description='Audio file format (mp3, wav, aac, etc.)')] = (
2424
None
2525
)
26-
url: Annotated[AnyUrl, Field(description="URL to the audio asset")]
26+
url: Annotated[AnyUrl, Field(description='URL to the audio asset')]

src/adcp/types/generated_poc/core/assets/css_asset.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: core/assets/css_asset.json
3-
# timestamp: 2025-11-22T15:23:24+00:00
3+
# timestamp: 2025-11-29T12:00:45+00:00
44

55
from __future__ import annotations
66

@@ -12,9 +12,9 @@
1212

1313
class CssAsset(AdCPBaseModel):
1414
model_config = ConfigDict(
15-
extra="forbid",
15+
extra='forbid',
1616
)
17-
content: Annotated[str, Field(description="CSS content")]
17+
content: Annotated[str, Field(description='CSS content')]
1818
media: Annotated[
1919
str | None, Field(description="CSS media query context (e.g., 'screen', 'print')")
2020
] = None
Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: core/assets/daast_asset.json
3-
# timestamp: 2025-11-22T15:23:24+00:00
3+
# timestamp: 2025-11-29T12:00:45+00:00
44

55
from __future__ import annotations
66

@@ -15,47 +15,47 @@
1515

1616
class DaastAsset1(AdCPBaseModel):
1717
model_config = ConfigDict(
18-
extra="forbid",
18+
extra='forbid',
1919
)
2020
companion_ads: Annotated[
21-
bool | None, Field(description="Whether companion display ads are included")
21+
bool | None, Field(description='Whether companion display ads are included')
2222
] = None
2323
daast_version: Annotated[
24-
daast_version_1.DaastVersion | None, Field(description="DAAST specification version")
24+
daast_version_1.DaastVersion | None, Field(description='DAAST specification version')
2525
] = None
2626
delivery_type: Annotated[
27-
Literal["url"],
28-
Field(description="Discriminator indicating DAAST is delivered via URL endpoint"),
27+
Literal['url'],
28+
Field(description='Discriminator indicating DAAST is delivered via URL endpoint'),
2929
]
3030
duration_ms: Annotated[
31-
int | None, Field(description="Expected audio duration in milliseconds (if known)", ge=0)
31+
int | None, Field(description='Expected audio duration in milliseconds (if known)', ge=0)
3232
] = None
3333
tracking_events: Annotated[
3434
list[daast_tracking_event.DaastTrackingEvent] | None,
35-
Field(description="Tracking events supported by this DAAST tag"),
35+
Field(description='Tracking events supported by this DAAST tag'),
3636
] = None
37-
url: Annotated[AnyUrl, Field(description="URL endpoint that returns DAAST XML")]
37+
url: Annotated[AnyUrl, Field(description='URL endpoint that returns DAAST XML')]
3838

3939

4040
class DaastAsset2(AdCPBaseModel):
4141
model_config = ConfigDict(
42-
extra="forbid",
42+
extra='forbid',
4343
)
4444
companion_ads: Annotated[
45-
bool | None, Field(description="Whether companion display ads are included")
45+
bool | None, Field(description='Whether companion display ads are included')
4646
] = None
47-
content: Annotated[str, Field(description="Inline DAAST XML content")]
47+
content: Annotated[str, Field(description='Inline DAAST XML content')]
4848
daast_version: Annotated[
49-
daast_version_1.DaastVersion | None, Field(description="DAAST specification version")
49+
daast_version_1.DaastVersion | None, Field(description='DAAST specification version')
5050
] = None
5151
delivery_type: Annotated[
52-
Literal["inline"],
53-
Field(description="Discriminator indicating DAAST is delivered as inline XML content"),
52+
Literal['inline'],
53+
Field(description='Discriminator indicating DAAST is delivered as inline XML content'),
5454
]
5555
duration_ms: Annotated[
56-
int | None, Field(description="Expected audio duration in milliseconds (if known)", ge=0)
56+
int | None, Field(description='Expected audio duration in milliseconds (if known)', ge=0)
5757
] = None
5858
tracking_events: Annotated[
5959
list[daast_tracking_event.DaastTrackingEvent] | None,
60-
Field(description="Tracking events supported by this DAAST tag"),
60+
Field(description='Tracking events supported by this DAAST tag'),
6161
] = None

src/adcp/types/generated_poc/core/assets/html_asset.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: core/assets/html_asset.json
3-
# timestamp: 2025-11-22T15:23:24+00:00
3+
# timestamp: 2025-11-29T12:00:45+00:00
44

55
from __future__ import annotations
66

@@ -12,7 +12,7 @@
1212

1313
class HtmlAsset(AdCPBaseModel):
1414
model_config = ConfigDict(
15-
extra="forbid",
15+
extra='forbid',
1616
)
17-
content: Annotated[str, Field(description="HTML content")]
17+
content: Annotated[str, Field(description='HTML content')]
1818
version: Annotated[str | None, Field(description="HTML version (e.g., 'HTML5')")] = None
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: core/assets/image_asset.json
3-
# timestamp: 2025-11-22T19:16:02+00:00
3+
# timestamp: 2025-11-29T12:00:45+00:00
44

55
from __future__ import annotations
66

@@ -12,8 +12,8 @@
1212

1313

1414
class ImageAsset(Dimensions):
15-
alt_text: Annotated[str | None, Field(description="Alternative text for accessibility")] = None
15+
alt_text: Annotated[str | None, Field(description='Alternative text for accessibility')] = None
1616
format: Annotated[
17-
str | None, Field(description="Image file format (jpg, png, gif, webp, etc.)")
17+
str | None, Field(description='Image file format (jpg, png, gif, webp, etc.)')
1818
] = None
19-
url: Annotated[AnyUrl, Field(description="URL to the image asset")]
19+
url: Annotated[AnyUrl, Field(description='URL to the image asset')]

src/adcp/types/generated_poc/core/assets/javascript_asset.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: core/assets/javascript_asset.json
3-
# timestamp: 2025-11-22T15:23:24+00:00
3+
# timestamp: 2025-11-29T12:00:45+00:00
44

55
from __future__ import annotations
66

@@ -14,10 +14,10 @@
1414

1515
class JavascriptAsset(AdCPBaseModel):
1616
model_config = ConfigDict(
17-
extra="forbid",
17+
extra='forbid',
1818
)
19-
content: Annotated[str, Field(description="JavaScript content")]
19+
content: Annotated[str, Field(description='JavaScript content')]
2020
module_type: Annotated[
2121
javascript_module_type.JavascriptModuleType | None,
22-
Field(description="JavaScript module type"),
22+
Field(description='JavaScript module type'),
2323
] = None

src/adcp/types/generated_poc/core/assets/text_asset.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: core/assets/text_asset.json
3-
# timestamp: 2025-11-22T15:23:24+00:00
3+
# timestamp: 2025-11-29T12:00:45+00:00
44

55
from __future__ import annotations
66

@@ -12,9 +12,9 @@
1212

1313
class TextAsset(AdCPBaseModel):
1414
model_config = ConfigDict(
15-
extra="forbid",
15+
extra='forbid',
1616
)
17-
content: Annotated[str, Field(description="Text content")]
17+
content: Annotated[str, Field(description='Text content')]
1818
language: Annotated[str | None, Field(description="Language code (e.g., 'en', 'es', 'fr')")] = (
1919
None
2020
)

0 commit comments

Comments
 (0)