import Riza from '@riza-io/api';const client = new Riza({ apiKey: process.env['RIZA_API_KEY'], // This is the default and can be omitted});const runtime = await client.runtimes.create({ language: 'python', manifest_file: { contents: 'contents', name: 'requirements.txt' }, name: 'name',});console.log(runtime.id);
import os
from rizaio import Riza
client = Riza(
api_key=os.environ.get("RIZA_API_KEY"), # This is the default and can be omitted
)
runtime = client.runtimes.create(
language="python",
manifest_file={
"contents": "contents",
"name": "requirements.txt",
},
name="name",
)
print(runtime.id)
import Riza from '@riza-io/api';const client = new Riza({ apiKey: process.env['RIZA_API_KEY'], // This is the default and can be omitted});const runtime = await client.runtimes.create({ language: 'python', manifest_file: { contents: 'contents', name: 'requirements.txt' }, name: 'name',});console.log(runtime.id);
import os
from rizaio import Riza
client = Riza(
api_key=os.environ.get("RIZA_API_KEY"), # This is the default and can be omitted
)
runtime = client.runtimes.create(
language="python",
manifest_file={
"contents": "contents",
"name": "requirements.txt",
},
name="name",
)
print(runtime.id)