feat: add file type validation and mime type extraction #1893
12.50% of diff hit (target 62.69%)
View this Pull Request on Codecov
12.50% of diff hit (target 62.69%)
Annotations
Check warning on line 329 in flytekit/types/file/file.py
codecov / codecov/patch
flytekit/types/file/file.py#L329
Added line #L329 was not covered by tests
Check warning on line 339 in flytekit/types/file/file.py
codecov / codecov/patch
flytekit/types/file/file.py#L339
Added line #L339 was not covered by tests
Check warning on line 341 in flytekit/types/file/file.py
codecov / codecov/patch
flytekit/types/file/file.py#L341
Added line #L341 was not covered by tests
Check warning on line 356 in flytekit/types/file/file.py
codecov / codecov/patch
flytekit/types/file/file.py#L356
Added line #L356 was not covered by tests
Check warning on line 358 in flytekit/types/file/file.py
codecov / codecov/patch
flytekit/types/file/file.py#L358
Added line #L358 was not covered by tests
Check warning on line 360 in flytekit/types/file/file.py
codecov / codecov/patch
flytekit/types/file/file.py#L360
Added line #L360 was not covered by tests
Check warning on line 364 in flytekit/types/file/file.py
codecov / codecov/patch
flytekit/types/file/file.py#L362-L364
Added lines #L362 - L364 were not covered by tests
Check warning on line 366 in flytekit/types/file/file.py
codecov / codecov/patch
flytekit/types/file/file.py#L366
Added line #L366 was not covered by tests
Check warning on line 371 in flytekit/types/file/file.py
codecov / codecov/patch
flytekit/types/file/file.py#L371
Added line #L371 was not covered by tests
Check warning on line 375 in flytekit/types/file/file.py
codecov / codecov/patch
flytekit/types/file/file.py#L374-L375
Added lines #L374 - L375 were not covered by tests
Check warning on line 377 in flytekit/types/file/file.py
codecov / codecov/patch
flytekit/types/file/file.py#L377
Added line #L377 was not covered by tests
Check warning on line 403 in flytekit/types/file/file.py
codecov / codecov/patch
flytekit/types/file/file.py#L403
Added line #L403 was not covered by tests
Check warning on line 429 in flytekit/types/file/file.py
codecov / codecov/patch
flytekit/types/file/file.py#L429
Added line #L429 was not covered by tests