Skip to content

Commit 07c20e8

Browse files
committed
Fix: Newer aleph-message requires InstanceEnvironment
Else tests were breaking.
1 parent f41d9b6 commit 07c20e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/aleph/sdk/client/authenticated_http.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
from aleph_message.models.execution.environment import (
3131
FunctionEnvironment,
3232
HypervisorType,
33+
InstanceEnvironment,
3334
MachineResources,
3435
)
3536
from aleph_message.models.execution.instance import RootfsVolume
@@ -539,8 +540,7 @@ async def create_instance(
539540
content = InstanceContent(
540541
address=address,
541542
allow_amend=allow_amend,
542-
environment=FunctionEnvironment(
543-
reproducible=False,
543+
environment=InstanceEnvironment(
544544
internet=internet,
545545
aleph_api=aleph_api,
546546
hypervisor=hypervisor,

0 commit comments

Comments
 (0)