Skip to content

Commit 3b43d98

Browse files
Copilotdbanty
andauthored
chore: update golden record snapshots for Ruff 0.15.5 formatting (#1410)
Ruff 0.15.5 changed formatting to add an empty line after function signatures before the function body. Updated 53 golden record snapshot files to match. **Example of formatting change:** ```python # Before def _get_kwargs() -> dict[str, Any]: _kwargs: dict[str, Any] = { # After def _get_kwargs() -> dict[str, Any]: _kwargs: dict[str, Any] = { ``` - **Updated golden records**: `end_to_end_tests/golden-record/` and `end_to_end_tests/literal-enums-golden-record/` — regenerated via `regen_golden_record.py` <!-- START COPILOT CODING AGENT TIPS --> --- 💬 We'd love your input! Share your thoughts on Copilot coding agent in our [2 minute survey](https://gh.io/copilot-coding-agent-survey). --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: dbanty <43723790+dbanty@users.noreply.github.com>
1 parent 95ceb92 commit 3b43d98

File tree

53 files changed

+53
-0
lines changed

Some content is hidden

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

53 files changed

+53
-0
lines changed

end_to_end_tests/golden-record/my_test_api_client/api/default/get_common_parameters.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ def _get_kwargs(
1212
*,
1313
common: str | Unset = UNSET,
1414
) -> dict[str, Any]:
15+
1516
params: dict[str, Any] = {}
1617

1718
params["common"] = common

end_to_end_tests/golden-record/my_test_api_client/api/default/get_models_allof.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111

1212
def _get_kwargs() -> dict[str, Any]:
13+
1314
_kwargs: dict[str, Any] = {
1415
"method": "get",
1516
"url": "/models/allof",

end_to_end_tests/golden-record/my_test_api_client/api/default/get_models_oneof_with_required_const.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616

1717
def _get_kwargs() -> dict[str, Any]:
18+
1819
_kwargs: dict[str, Any] = {
1920
"method": "get",
2021
"url": "/models/oneof-with-required-const",

end_to_end_tests/golden-record/my_test_api_client/api/default/post_common_parameters.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ def _get_kwargs(
1212
*,
1313
common: str | Unset = UNSET,
1414
) -> dict[str, Any]:
15+
1516
params: dict[str, Any] = {}
1617

1718
params["common"] = common

end_to_end_tests/golden-record/my_test_api_client/api/default/reserved_parameters.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ def _get_kwargs(
1313
client_query: str,
1414
url_query: str,
1515
) -> dict[str, Any]:
16+
1617
params: dict[str, Any] = {}
1718

1819
params["client"] = client_query

end_to_end_tests/golden-record/my_test_api_client/api/defaults/defaults_tests_defaults_post.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def _get_kwargs(
2929
model_prop: ModelWithUnionProperty,
3030
required_model_prop: ModelWithUnionProperty,
3131
) -> dict[str, Any]:
32+
3233
params: dict[str, Any] = {}
3334

3435
params["string_prop"] = string_prop

end_to_end_tests/golden-record/my_test_api_client/api/enums/bool_enum_tests_bool_enum_post.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ def _get_kwargs(
1212
*,
1313
bool_enum: bool,
1414
) -> dict[str, Any]:
15+
1516
params: dict[str, Any] = {}
1617

1718
params["bool_enum"] = bool_enum

end_to_end_tests/golden-record/my_test_api_client/api/enums/int_enum_tests_int_enum_post.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ def _get_kwargs(
1313
*,
1414
int_enum: AnIntEnum,
1515
) -> dict[str, Any]:
16+
1617
params: dict[str, Any] = {}
1718

1819
json_int_enum = int_enum.value

end_to_end_tests/golden-record/my_test_api_client/api/location/get_location_query_optionality.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def _get_kwargs(
1616
null_not_required: datetime.datetime | None | Unset = UNSET,
1717
not_null_not_required: datetime.datetime | Unset = UNSET,
1818
) -> dict[str, Any]:
19+
1920
params: dict[str, Any] = {}
2021

2122
json_not_null_required = not_null_required.isoformat()

end_to_end_tests/golden-record/my_test_api_client/api/naming/hyphen_in_path.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
def _get_kwargs(
1313
hyphen_in_path: str,
1414
) -> dict[str, Any]:
15+
1516
_kwargs: dict[str, Any] = {
1617
"method": "get",
1718
"url": "/naming/{hyphen_in_path}".format(

0 commit comments

Comments
 (0)