From cb5769e1395544547519f05995636b6e6001c414 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 6 Jun 2025 19:44:32 +0000 Subject: [PATCH] fix(config): Diagnostic errors --- .stats.yml | 4 ++-- api.md | 1 + src/cloudflare/types/d1/database_import_params.py | 10 +++++----- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.stats.yml b/.stats.yml index bf1050498..004283c03 100644 --- a/.stats.yml +++ b/.stats.yml @@ -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 diff --git a/api.md b/api.md index cfe98b57f..2d5665da5 100644 --- a/api.md +++ b/api.md @@ -1081,6 +1081,7 @@ from cloudflare.types.dns import ( NAPTRRecord, NSRecord, PTRRecord, + Record, RecordResponse, RecordTags, SMIMEARecord, diff --git a/src/cloudflare/types/d1/database_import_params.py b/src/cloudflare/types/d1/database_import_params.py index 222295abd..63afb9217 100644 --- a/src/cloudflare/types/d1/database_import_params.py +++ b/src/cloudflare/types/d1/database_import_params.py @@ -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]