import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
template_short = client.fastedge.templates.replace(
id=0,
binary_id=0,
name="name",
owned=True,
params=[{
"data_type": "string",
"mandatory": True,
"name": "name",
}],
)
print(template_short.id)
import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
template_short = client.fastedge.templates.replace(
id=0,
binary_id=0,
name="name",
owned=True,
params=[{
"data_type": "string",
"mandatory": True,
"name": "name",
}],
)
print(template_short.id)