mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(deps): update machine-learning (#5180)
* fix(deps): update machine-learning * updated ruff command * use isinstance --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
This commit is contained in:
parent
a7889e5e11
commit
3edc87f684
6 changed files with 65 additions and 65 deletions
|
|
@ -42,4 +42,4 @@ class Face(TypedDict):
|
|||
|
||||
|
||||
def has_profiling(obj: Any) -> TypeGuard[HasProfiling]:
|
||||
return hasattr(obj, "profiling") and type(obj.profiling) == dict
|
||||
return hasattr(obj, "profiling") and isinstance(obj.profiling, dict)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue