create#
- alphagenome.models.v1.dna_client.create(api_key, *, model_version=None, timeout=None, address=None)[source]#
Creates a model client for a given API key.
- Parameters:
api_key (
str) – API key to use for authentication.model_version (
ModelVersion|None(default:None)) – Optional model version to use for the DNA model server. If none is provided, the default model will be used.timeout (
float|None(default:None)) – Optional timeout for waiting for the channel to be ready.address (
str|None(default:None)) – Optional server address to connect to.
- Return type:
- Returns:
DnaClientinstance.