Update public source
This commit is contained in:
@@ -32,6 +32,7 @@ class _ValidatedPackage:
|
||||
hash_content: bytes
|
||||
job_bytes: bytes
|
||||
hash_path: str
|
||||
package_filename: str
|
||||
|
||||
|
||||
class JobPackageService:
|
||||
@@ -175,6 +176,7 @@ class JobPackageService:
|
||||
hash_content=hash_bytes,
|
||||
job_bytes=job_bytes,
|
||||
hash_path=hash_name,
|
||||
package_filename=package_path.name,
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
@@ -995,6 +997,14 @@ class JobPackageService:
|
||||
f"{pending_path}"
|
||||
)
|
||||
|
||||
(
|
||||
temporary_path
|
||||
/ "package_filename.txt"
|
||||
).write_text(
|
||||
package.package_filename,
|
||||
encoding="utf-8",
|
||||
)
|
||||
|
||||
if not pending_path.is_file():
|
||||
raise JobPackageError(
|
||||
f"Pending Job package is not a file: "
|
||||
|
||||
Reference in New Issue
Block a user