mirror of
https://github.com/beshu-tech/deltaglider.git
synced 2026-11-13 12:33:39 +01:00
fix: format models.py
This commit is contained in:
1 parent
c32d5265d9
commit
934d83975c
1 file changed
+1
@@ -100,6 +100,7 @@ class DeltaMeta:
|
||||
@classmethod
|
||||
def from_dict(cls, data: dict[str, str]) -> "DeltaMeta":
|
||||
"""Create from S3 metadata dict with DeltaGlider namespace prefix."""
|
||||
|
||||
def _get_value(*keys: str, required: bool = True) -> str:
|
||||
for key in keys:
|
||||
if key in data and data[key] != "":
|
||||
|
||||
Reference in new issue
Block a user