Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use Sequence for input List like types #2178

Merged
merged 1 commit into from
Nov 30, 2023
Merged

Conversation

mxschmitt
Copy link
Member

@mxschmitt mxschmitt commented Nov 29, 2023

Closes #1954
Fixes #1953
Relates #2174

@mxschmitt mxschmitt force-pushed the Sequence-types branch 2 times, most recently from 46d8346 to eaa5705 Compare November 29, 2023 20:56
@mxschmitt mxschmitt marked this pull request as ready for review November 29, 2023 20:57
@@ -421,7 +424,7 @@ def inner_serialize_doc_type(self, type: Any, direction: str) -> str:
if "templates" in type:
base = type_name
if type_name == "Array":
base = "List"
base = "Sequence"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make sure this is only applied to input parameters, not output values.

@mxschmitt mxschmitt merged commit fa71145 into main Nov 30, 2023
37 of 38 checks passed
@mxschmitt mxschmitt deleted the Sequence-types branch November 30, 2023 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] FileChooser.set_files takes a list[str | Path] which is invariant
2 participants