We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb2067a commit 7931ed8Copy full SHA for 7931ed8
1 file changed
snakemake_interface_software_deployment_plugins/__init__.py
@@ -287,6 +287,16 @@ async def archive(self) -> None:
287
"""
288
...
289
290
+ @abstractmethod
291
+ async def deploy_from_archive(self) -> None:
292
+ """Deploy the environment from self.archive_path to self.deployment_path.
293
+
294
+ When issuing shell commands, the environment should use
295
+ self.run_cmd(cmd: str) in order to ensure that it runs within eventual
296
+ parent environments (e.g. a container or an env module).
297
+ """
298
+ ...
299
300
@property
301
def archive_path(self) -> Path:
- return self._archive_prefix / self.hash()
302
+ return self._archive_prefix / self.hash()
0 commit comments