| LOW | tests/conftest.py | 54 | def get_testing_print_function( |
| LOW | tests/test_future_annotations.py | 8 | def test_model_with_future_annotations(clear_sqlmodel): |
| LOW | tests/test_future_annotations.py | 36 | def test_model_with_string_annotations(clear_sqlmodel): |
| LOW | tests/test_deprecations.py | 13 | def test_deprecated_from_orm_inheritance(): |
| LOW | tests/test_deprecations.py | 21 | def test_deprecated_parse_obj(): |
| LOW | tests/test_nullable.py | 81 | def test_non_nullable_optional_field_with_no_default_set(clear_sqlmodel, caplog): |
| LOW | tests/test_nullable.py | 108 | def test_nullable_primary_key(clear_sqlmodel, caplog): |
| LOW | tests/test_ondelete_raises.py | 7 | def test_ondelete_requires_nullable(clear_sqlmodel: Any) -> None: |
| LOW | tests/test_ondelete_raises.py | 29 | def test_ondelete_requires_foreign_key(clear_sqlmodel: Any) -> None: |
| LOW | tests/test_aliases.py | 29 | def test_create_with_field_name(model: type[PydanticUser] | type[SQLModelUser]): |
| LOW | tests/test_aliases.py | 35 | def test_create_with_field_name_with_config( |
| LOW | tests/test_aliases.py | 57 | def test_create_with_both_prefers_alias( |
| LOW | tests/test_aliases.py | 65 | def test_dict_default_uses_field_names( |
| LOW | tests/test_aliases.py | 76 | def test_dict_by_alias_uses_aliases( |
| LOW | tests/test_aliases.py | 105 | def test_create_with_validation_alias( |
| LOW | tests/test_aliases.py | 113 | def test_serialize_with_serialization_alias( |
| LOW | tests/test_field_sa_relationship.py | 6 | def test_sa_relationship_no_args() -> None: |
| LOW | tests/test_field_sa_relationship.py | 30 | def test_sa_relationship_no_kwargs() -> None: |
| LOW | tests/test_field_sa_column.py | 8 | def test_sa_column_takes_precedence() -> None: |
| LOW | tests/test_field_sa_column.py | 20 | def test_sa_column_with_annotated_metadata() -> None: |
| LOW | tests/test_field_sa_column.py | 31 | def test_sa_column_no_sa_args() -> None: |
| LOW | tests/test_field_sa_column.py | 42 | def test_sa_column_no_sa_kargs() -> None: |
| LOW | tests/test_field_sa_column.py | 64 | def test_sa_column_no_primary_key() -> None: |
| LOW | tests/test_field_sa_column.py | 75 | def test_sa_column_no_nullable() -> None: |
| LOW | tests/test_field_sa_column.py | 86 | def test_sa_column_no_foreign_key() -> None: |
| LOW | tests/test_field_sa_column.py | 124 | def test_sa_column_no_ondelete() -> None: |
| LOW | tests/test_main.py | 9 | def test_should_allow_duplicate_row_if_unique_constraint_is_not_passed(clear_sqlmodel): |
| LOW | tests/test_main.py | 39 | def test_should_allow_duplicate_row_if_unique_constraint_is_false(clear_sqlmodel): |
| LOW | tests/test_main.py | 69 | def test_should_raise_exception_when_try_to_duplicate_row_if_unique_constraint_is_true( |
| LOW | tests/test_main.py | 96 | def test_sa_relationship_property(clear_sqlmodel): |
| LOW | tests/test_main.py | 130 | def test_composite_primary_key(clear_sqlmodel): |
| LOW | tests/test_main.py | 156 | def test_composite_primary_key_and_validator(clear_sqlmodel): |
| LOW | tests/test_main.py | 191 | def test_foreign_key_ondelete_with_annotated(clear_sqlmodel): |
| LOW | tests/test_annotated_uuid.py | 6 | def test_annotated_optional_types(clear_sqlmodel) -> None: |
| LOW | tests/test_instance_no_args.py | 6 | def test_allow_instantiation_without_arguments(clear_sqlmodel): |
| LOW | tests/test_instance_no_args.py | 26 | def test_not_allow_instantiation_without_arguments_if_not_table(): |
| LOW | scripts/docs.py | 150 | def generate_docs_src_versions_for_file(file_path: Path) -> None: |
| LOW | scripts/docs.py | 211 | def generate_docs_src_versions() -> None: |
| LOW | …i/app_testing/tutorial001_py310/test_extra_coverage.py | 31 | def test_update_hero_not_found(client: TestClient): |
| LOW | …i/app_testing/tutorial001_py310/test_extra_coverage.py | 36 | def test_delete_hero_not_found(client: TestClient): |
| LOW | …ial/fastapi/app_testing/tutorial001_py310/test_main.py | 43 | def test_create_hero_incomplete(client: TestClient): |
| LOW | sqlmodel/_compat.py | 94 | def init_pydantic_private_attrs(new_object: InstanceOrType["SQLModel"]) -> None: |
| LOW | sqlmodel/_compat.py | 174 | def get_sa_type_from_type_annotation(annotation: Any) -> Any: |
| LOW | sqlmodel/main.py | 217 | def _get_sqlmodel_field_metadata(field_info: Any) -> FieldInfoMetadata | None: |
| LOW | sqlmodel/main.py | 226 | def _get_sqlmodel_field_value( |