qiskit_serverless.serializers.get_function_size¶
- get_function_size()[source]¶
Returns the function size the running job resolved to.
Set by the gateway at job submission, this is the size the job runs at, which lets a function check which size was chosen. It is always set for Fleets jobs (the requested size, or the function’s default when none was requested).
- Return type:
str- Returns:
The size label (e.g.
"M"). Empty when sizes do not apply, i.e. a non-Fleets (Ray) job.