flywheel.models.job_profile
JobProfile
Bases: object
elapsed_time_ms property writable
Gets the elapsed_time_ms of this JobProfile.
The runtime of the job, in milliseconds
Returns:
| Type | Description |
|---|---|
int | The elapsed_time_ms of this JobProfile |
executor property writable
Gets the executor of this JobProfile.
Returns:
| Type | Description |
|---|---|
JobExecutorInfo | The executor of this JobProfile |
preparation_time_ms property writable
Gets the preparation_time_ms of this JobProfile.
The length of time taken to download gear container and inputs, in milliseconds
Returns:
| Type | Description |
|---|---|
int | The preparation_time_ms of this JobProfile |
total_input_files property writable
Gets the total_input_files of this JobProfile.
The number of input files
Returns:
| Type | Description |
|---|---|
int | The total_input_files of this JobProfile |
total_input_size_bytes property writable
Gets the total_input_size_bytes of this JobProfile.
The combined size of all input files, in bytes
Returns:
| Type | Description |
|---|---|
int | The total_input_size_bytes of this JobProfile |
total_output_files property writable
Gets the total_output_files of this JobProfile.
The number of output files
Returns:
| Type | Description |
|---|---|
int | The total_output_files of this JobProfile |
total_output_size_bytes property writable
Gets the total_output_size_bytes of this JobProfile.
The combined size of all output files, in bytes
Returns:
| Type | Description |
|---|---|
int | The total_output_size_bytes of this JobProfile |
total_time_ms property writable
Gets the total_time_ms of this JobProfile.
The total length of time from start to finish, in milliseconds
Returns:
| Type | Description |
|---|---|
int | The total_time_ms of this JobProfile |
upload_time_ms property writable
Gets the upload_time_ms of this JobProfile.
The length of time taken to upload the job's outputs, in milliseconds
Returns:
| Type | Description |
|---|---|
int | The upload_time_ms of this JobProfile |
versions property writable
Gets the versions of this JobProfile.
Returns:
| Type | Description |
|---|---|
JobVersionInfo | The versions of this JobProfile |
__contains__(key)
Checks if the given value is a key in this object
__eq__(other)
Returns true if both objects are equal
__getitem__(key)
Returns the value of key
__init__(total_input_files=None, total_input_size_bytes=None, total_output_files=None, total_output_size_bytes=None, preparation_time_ms=None, elapsed_time_ms=None, upload_time_ms=None, total_time_ms=None, versions=None, executor=None)
JobProfile - a model defined in Swagger
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
total_input_files | (int, optional) | The number of input files, defaults to None | None |
total_input_size_bytes | (int, optional) | The combined size of all input files, in bytes, defaults to None | None |
total_output_files | (int, optional) | The number of output files, defaults to None | None |
total_output_size_bytes | (int, optional) | The combined size of all output files, in bytes, defaults to None | None |
preparation_time_ms | (int, optional) | The length of time taken to download gear container and inputs, in milliseconds, defaults to None | None |
elapsed_time_ms | (int, optional) | The runtime of the job, in milliseconds, defaults to None | None |
upload_time_ms | (int, optional) | The length of time taken to upload the job's outputs, in milliseconds, defaults to None | None |
total_time_ms | (int, optional) | The total length of time from start to finish, in milliseconds, defaults to None | None |
versions | (JobVersionInfo, optional) | , defaults to None | None |
executor | (JobExecutorInfo, optional) | , defaults to None | None |
__ne__(other)
Returns true if both objects are not equal
__repr__()
For print and pprint
__setitem__(key, value)
Sets the value of key
get(key, default=None)
Get the value of the provided json property, or default
items()
Returns the list of json property to value mapping
keys()
Returns the list of json properties in the object
positional_to_model(value) staticmethod
Converts a positional argument to a model value
return_value()
Unwraps return value from model
to_dict()
Returns the model properties as a dict
to_str()
Returns the string representation of the model
values()
Returns the list of values in the object