Skip to content

Commit 09f828a

Browse files
chore(api): update BetaCitationSearchResultLocation
1 parent d816b1a commit 09f828a

File tree

8 files changed

+17
-17
lines changed

8 files changed

+17
-17
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 26
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic%2Fanthropic-59aad2898ad5b11d8c367967ca73213a83bb46f1ca20cd006ee00fc8010c5e65.yml
33
openapi_spec_hash: 6dcdf2b065d61612f4403a1786c3bee2
4-
config_hash: f7a432ccea4a4968a1f94085f80bf258
4+
config_hash: 29170d4f110e44c786b2ce308d7b6410

api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ from anthropic.types.beta import (
206206
BetaCitationContentBlockLocationParam,
207207
BetaCitationPageLocation,
208208
BetaCitationPageLocationParam,
209+
BetaCitationSearchResultLocation,
210+
BetaCitationSearchResultLocationParam,
209211
BetaCitationWebSearchResultLocationParam,
210212
BetaCitationsConfigParam,
211213
BetaCitationsDelta,
@@ -257,8 +259,6 @@ from anthropic.types.beta import (
257259
BetaRequestMCPServerURLDefinition,
258260
BetaRequestMCPToolResultBlockParam,
259261
BetaSearchResultBlockParam,
260-
BetaSearchResultLocationCitation,
261-
BetaSearchResultLocationCitationParam,
262262
BetaServerToolUsage,
263263
BetaServerToolUseBlock,
264264
BetaServerToolUseBlockParam,

src/anthropic/types/beta/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
from .beta_thinking_config_disabled_param import BetaThinkingConfigDisabledParam as BetaThinkingConfigDisabledParam
9292
from .beta_web_search_tool_20250305_param import BetaWebSearchTool20250305Param as BetaWebSearchTool20250305Param
9393
from .beta_citation_content_block_location import BetaCitationContentBlockLocation as BetaCitationContentBlockLocation
94-
from .beta_search_result_location_citation import BetaSearchResultLocationCitation as BetaSearchResultLocationCitation
94+
from .beta_citation_search_result_location import BetaCitationSearchResultLocation as BetaCitationSearchResultLocation
9595
from .beta_tool_text_editor_20241022_param import BetaToolTextEditor20241022Param as BetaToolTextEditor20241022Param
9696
from .beta_tool_text_editor_20250124_param import BetaToolTextEditor20250124Param as BetaToolTextEditor20250124Param
9797
from .beta_tool_text_editor_20250429_param import BetaToolTextEditor20250429Param as BetaToolTextEditor20250429Param
@@ -130,12 +130,12 @@
130130
from .beta_citation_content_block_location_param import (
131131
BetaCitationContentBlockLocationParam as BetaCitationContentBlockLocationParam,
132132
)
133+
from .beta_citation_search_result_location_param import (
134+
BetaCitationSearchResultLocationParam as BetaCitationSearchResultLocationParam,
135+
)
133136
from .beta_code_execution_tool_result_error_code import (
134137
BetaCodeExecutionToolResultErrorCode as BetaCodeExecutionToolResultErrorCode,
135138
)
136-
from .beta_search_result_location_citation_param import (
137-
BetaSearchResultLocationCitationParam as BetaSearchResultLocationCitationParam,
138-
)
139139
from .beta_code_execution_tool_result_block_param import (
140140
BetaCodeExecutionToolResultBlockParam as BetaCodeExecutionToolResultBlockParam,
141141
)

src/anthropic/types/beta/beta_search_result_location_citation.py renamed to src/anthropic/types/beta/beta_citation_search_result_location.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
from ..._models import BaseModel
77

8-
__all__ = ["BetaSearchResultLocationCitation"]
8+
__all__ = ["BetaCitationSearchResultLocation"]
99

1010

11-
class BetaSearchResultLocationCitation(BaseModel):
11+
class BetaCitationSearchResultLocation(BaseModel):
1212
cited_text: str
1313

1414
end_block_index: int

src/anthropic/types/beta/beta_search_result_location_citation_param.py renamed to src/anthropic/types/beta/beta_citation_search_result_location_param.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
from typing import Optional
66
from typing_extensions import Literal, Required, TypedDict
77

8-
__all__ = ["BetaSearchResultLocationCitationParam"]
8+
__all__ = ["BetaCitationSearchResultLocationParam"]
99

1010

11-
class BetaSearchResultLocationCitationParam(TypedDict, total=False):
11+
class BetaCitationSearchResultLocationParam(TypedDict, total=False):
1212
cited_text: Required[str]
1313

1414
end_block_index: Required[int]

src/anthropic/types/beta/beta_citations_delta.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from .beta_citation_char_location import BetaCitationCharLocation
99
from .beta_citation_page_location import BetaCitationPageLocation
1010
from .beta_citation_content_block_location import BetaCitationContentBlockLocation
11-
from .beta_search_result_location_citation import BetaSearchResultLocationCitation
11+
from .beta_citation_search_result_location import BetaCitationSearchResultLocation
1212
from .beta_citations_web_search_result_location import BetaCitationsWebSearchResultLocation
1313

1414
__all__ = ["BetaCitationsDelta", "Citation"]
@@ -19,7 +19,7 @@
1919
BetaCitationPageLocation,
2020
BetaCitationContentBlockLocation,
2121
BetaCitationsWebSearchResultLocation,
22-
BetaSearchResultLocationCitation,
22+
BetaCitationSearchResultLocation,
2323
],
2424
PropertyInfo(discriminator="type"),
2525
]

src/anthropic/types/beta/beta_text_citation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from .beta_citation_char_location import BetaCitationCharLocation
88
from .beta_citation_page_location import BetaCitationPageLocation
99
from .beta_citation_content_block_location import BetaCitationContentBlockLocation
10-
from .beta_search_result_location_citation import BetaSearchResultLocationCitation
10+
from .beta_citation_search_result_location import BetaCitationSearchResultLocation
1111
from .beta_citations_web_search_result_location import BetaCitationsWebSearchResultLocation
1212

1313
__all__ = ["BetaTextCitation"]
@@ -18,7 +18,7 @@
1818
BetaCitationPageLocation,
1919
BetaCitationContentBlockLocation,
2020
BetaCitationsWebSearchResultLocation,
21-
BetaSearchResultLocationCitation,
21+
BetaCitationSearchResultLocation,
2222
],
2323
PropertyInfo(discriminator="type"),
2424
]

src/anthropic/types/beta/beta_text_citation_param.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from .beta_citation_char_location_param import BetaCitationCharLocationParam
99
from .beta_citation_page_location_param import BetaCitationPageLocationParam
1010
from .beta_citation_content_block_location_param import BetaCitationContentBlockLocationParam
11-
from .beta_search_result_location_citation_param import BetaSearchResultLocationCitationParam
11+
from .beta_citation_search_result_location_param import BetaCitationSearchResultLocationParam
1212
from .beta_citation_web_search_result_location_param import BetaCitationWebSearchResultLocationParam
1313

1414
__all__ = ["BetaTextCitationParam"]
@@ -18,5 +18,5 @@
1818
BetaCitationPageLocationParam,
1919
BetaCitationContentBlockLocationParam,
2020
BetaCitationWebSearchResultLocationParam,
21-
BetaSearchResultLocationCitationParam,
21+
BetaCitationSearchResultLocationParam,
2222
]

0 commit comments

Comments
 (0)