fix(config): Diagnostic errors

This commit is contained in:
stainless-app[bot] 2025-06-06 19:44:32 +00:00
parent 5d271a4267
commit cb5769e139
3 changed files with 8 additions and 7 deletions

View file

@ -1,4 +1,4 @@
configured_endpoints: 1752
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-87cffcb2b7a8c40e24da5ed6c357445c8eb7acdb63152243fd2f1a3f4dba688c.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-628b27476dcb24be6d178f13e44068933c1e4cf67895b708a62fc182ae35a83a.yml
openapi_spec_hash: 5d8aa29e0696dfd71cc1e27c3d520f2e
config_hash: a1b7c5aaad1e2019b29cef1b1da689fc
config_hash: 8f5aab183b4a8e0f4a9ec9c0293b54f1

1
api.md
View file

@ -1081,6 +1081,7 @@ from cloudflare.types.dns import (
NAPTRRecord,
NSRecord,
PTRRecord,
Record,
RecordResponse,
RecordTags,
SMIMEARecord,

View file

@ -5,10 +5,10 @@ from __future__ import annotations
from typing import Union
from typing_extensions import Literal, Required, TypeAlias, TypedDict
__all__ = ["DatabaseImportParams", "Variant0", "Variant1", "Variant2"]
__all__ = ["DatabaseImportParams", "Init", "Ingest", "Poll"]
class Variant0(TypedDict, total=False):
class Init(TypedDict, total=False):
account_id: Required[str]
"""Account identifier tag."""
@ -23,7 +23,7 @@ class Variant0(TypedDict, total=False):
"""
class Variant1(TypedDict, total=False):
class Ingest(TypedDict, total=False):
account_id: Required[str]
"""Account identifier tag."""
@ -40,7 +40,7 @@ class Variant1(TypedDict, total=False):
"""The filename you have successfully uploaded."""
class Variant2(TypedDict, total=False):
class Poll(TypedDict, total=False):
account_id: Required[str]
"""Account identifier tag."""
@ -51,4 +51,4 @@ class Variant2(TypedDict, total=False):
"""This identifies the currently-running import, checking its status."""
DatabaseImportParams: TypeAlias = Union[Variant0, Variant1, Variant2]
DatabaseImportParams: TypeAlias = Union[Init, Ingest, Poll]