fix: poetry lock
This commit is contained in:
parent
f3d0f24ea6
commit
50b7a877e9
@ -249,4 +249,4 @@ this workaround.
|
||||
```
|
||||
3. Manually adjust import statements in the generated files to match the package structure, e.g.:
|
||||
`import EntryData_pb2 as EntryData__pb2` -> `import pyinfra.proto.EntryData_pb2 as EntryData__pb2`.
|
||||
This does not work automatically because the generated files are not in the same directory as the proto files.
|
||||
This does not work automatically because the generated files are not in the same directory as the proto files.
|
||||
|
||||
788
poetry.lock
generated
788
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -39,7 +39,7 @@ class DossierIdFileIdUploadPayload(BaseModel):
|
||||
@property
|
||||
def responseFilePath(self):
|
||||
return f"{self.dossierId}/{self.fileId}.{self.responseFileExtension}"
|
||||
|
||||
|
||||
|
||||
class TenantIdDossierIdFileIdUploadPayload(BaseModel):
|
||||
tenantId: str
|
||||
@ -140,7 +140,7 @@ def upload_data_as_specified_in_message(storage: Storage, raw_payload: dict, dat
|
||||
try:
|
||||
if "tenantId" in raw_payload and "dossierId" in raw_payload:
|
||||
payload = TenantIdDossierIdFileIdUploadPayload(**raw_payload)
|
||||
elif "tenantId" not in raw_payload and "dossierId" in raw_payload:
|
||||
elif "tenantId" not in raw_payload and "dossierId" in raw_payload:
|
||||
payload = DossierIdFileIdUploadPayload(**raw_payload)
|
||||
else:
|
||||
payload = TargetResponseFilePathUploadPayload(**raw_payload)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user