Skip to content

Commit 4a37ef1

Browse files
author
stlc-bot
committed
Build SDK
Stainless-Generated-From: c134fd1
1 parent 848b053 commit 4a37ef1

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

src/imagekitio/types/shared/named_transformation.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from typing import Optional
43
from datetime import datetime
54

65
from pydantic import Field as FieldInfo
@@ -15,27 +14,27 @@ class NamedTransformation(BaseModel):
1514
A named transformation is an alias for a transformation string, letting you apply and later update complex transformations without changing your image or video URLs. Learn more about [named transformations](https://imagekit.io/docs/transformations#named-transformations).
1615
"""
1716

18-
id: Optional[str] = None
17+
id: str
1918
"""Unique identifier for a named transformation."""
2019

21-
created_at: Optional[datetime] = FieldInfo(alias="createdAt", default=None)
20+
created_at: datetime = FieldInfo(alias="createdAt")
2221
"""ISO 8601 timestamp of when the named transformation was created."""
2322

24-
enabled: Optional[bool] = None
23+
enabled: bool
2524
"""Whether the named transformation is currently enabled.
2625
2726
When set to `false`, requests using this named transformation fail at delivery
2827
time.
2928
"""
3029

31-
name: Optional[str] = None
30+
name: str
3231
"""Alias for the transformation string, used in URLs as `tr:n-<name>`.
3332
3433
This is case-sensitive, contains only alphanumeric characters or `_`
3534
(underscore), and is unique across all named transformations for your account.
3635
"""
3736

38-
transformation: Optional[str] = None
37+
transformation: str
3938
"""The transformation string this named transformation refers to.
4039
4140
Learn more about the

0 commit comments

Comments
 (0)