Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/aleph/sdk/client/abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ async def create_program(
runtime: str,
metadata: Optional[dict[str, Any]] = None,
address: Optional[str] = None,
payment: Optional[Payment] = None,
vcpus: Optional[int] = None,
memory: Optional[int] = None,
timeout_seconds: Optional[float] = None,
Expand All @@ -387,6 +388,7 @@ async def create_program(
:param runtime: Runtime to use
:param metadata: Metadata to attach to the message
:param address: Address to use (Default: account.get_address())
:param payment: Payment method used to pay for the program (Default: None)
:param vcpus: Number of vCPUs to allocate (Default: 1)
:param memory: Memory in MB for the VM to be allocated (Default: 128)
:param timeout_seconds: Timeout in seconds (Default: 30.0)
Expand Down
2 changes: 2 additions & 0 deletions src/aleph/sdk/client/authenticated_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ async def create_program(
runtime: str,
metadata: Optional[dict[str, Any]] = None,
address: Optional[str] = None,
payment: Optional[Payment] = None,
vcpus: Optional[int] = None,
memory: Optional[int] = None,
timeout_seconds: Optional[float] = None,
Expand All @@ -433,6 +434,7 @@ async def create_program(
runtime=runtime,
metadata=metadata,
address=address,
payment=payment,
vcpus=vcpus,
memory=memory,
timeout_seconds=timeout_seconds,
Expand Down
Loading