Code styling tweaks to core utils & YAML loader (#85433)

Code styling tweaks to core utils
This commit is contained in:
Franck Nijhof 2023-01-09 07:01:55 +01:00 committed by GitHub
parent aa1c539683
commit 7adb8d5ddc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 68 additions and 51 deletions

View file

@ -124,7 +124,8 @@ def find_paths_unserializable_data(
except (ValueError, TypeError):
pass
# We convert objects with as_dict to their dict values so we can find bad data inside it
# We convert objects with as_dict to their dict values
# so we can find bad data inside it
if hasattr(obj, "as_dict"):
desc = obj.__class__.__name__
if isinstance(obj, State):