-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
refactor: change typing annotations in tests folder #3594
Commits on Aug 28, 2024
-
refactor(log_router.py): change variable type annotation from List to…
… list for better consistency refactor(utils.py): change variable type annotation from Dict to dict for better consistency refactor(base.py): change variable type annotation from Optional to Union for better clarity refactor(callback.py): change variable type annotation from Dict to dict for better consistency refactor(chat.py): change variable type annotation from Optional to Union for better clarity refactor(endpoints.py): change variable type annotation from Optional to Union for better clarity refactor(flows.py): change variable type annotation from List to list for better consistency refactor(api): update response_model annotations to use lowercase list for consistency and improve readability refactor(store.py): update type annotations for query parameters in get_components endpoint to improve code readability and maintainability feat(store.py): add support for type hinting Union and list types in query parameters for better data validation and documentation
Configuration menu - View commit details
-
Copy full SHA for cb1035a - Browse repository at this point
Copy the full SHA cb1035aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92534ab - Browse repository at this point
Copy the full SHA 92534abView commit details -
refactor(input_mixin.py): update typing annotations for variables to …
…use union types for better clarity and compatibility with Python 3.10 refactor(inputs.py): update typing annotations for variables to use union types and import necessary modules for compatibility with Python 3.10
Configuration menu - View commit details
-
Copy full SHA for e80fdd4 - Browse repository at this point
Copy the full SHA e80fdd4View commit details -
refactor(base.py): remove unnecessary imports and update typing for f…
…ields in Input and Output classes feat(base.py): add support for specifying field types more explicitly in Input and Output classes feat(frontend_node/base.py): enhance typing and field definitions in FrontendNode class feat(frontend_node/custom_components.py): improve typing and field definitions in CustomComponentFrontendNode and ComponentFrontendNode classes feat(template/base.py): update typing for fields in Template class and remove unnecessary imports
Configuration menu - View commit details
-
Copy full SHA for e3a5e5e - Browse repository at this point
Copy the full SHA e3a5e5eView commit details -
refactor(inputs): remove unnecessary Optional import from typing in i…
…nput_mixin.py and inputs.py files to improve code readability and maintainability
Configuration menu - View commit details
-
Copy full SHA for eba26c3 - Browse repository at this point
Copy the full SHA eba26c3View commit details -
refactor(schema.py): change 'Type' to 'type' for consistency in type …
…annotations refactor(schema.py): change 'list' to 'List' and 'Literal' to 'literal' for correct type hinting in create_input_schema function
Configuration menu - View commit details
-
Copy full SHA for 63fe5ba - Browse repository at this point
Copy the full SHA 63fe5baView commit details -
refactor(utils.py): change typing annotations from List and Union to …
…list and type to follow PEP 585 standards refactor(test_schema.py): change typing annotations from List and List to list and list to follow PEP 585 standards refactor(test_graph.py): change typing annotations from Type and Union to type and Vertex | None to follow PEP 585 standards refactor(test_io_schema.py): change typing annotations from List and List to list and list to follow PEP 585 standards refactor(test_custom_component.py): update file reading method to remove unnecessary "r" mode refactor(test_helper_components.py): update file reading method to remove unnecessary "r" mode refactor(test_kubernetes_secrets.py): update b64encode method argument to bytes type refactor(test_template.py): change typing annotations from Optional, List, and Dict to list, dict, and None to follow PEP 585 standards
Configuration menu - View commit details
-
Copy full SHA for 8979b89 - Browse repository at this point
Copy the full SHA 8979b89View commit details -
Configuration menu - View commit details
-
Copy full SHA for e130a64 - Browse repository at this point
Copy the full SHA e130a64View commit details