Skip to content

flywheel.models.gear_manifest

GearManifest

Bases: object

author property writable

Gets the author of this GearManifest.

Returns:

Type Description
str

The author of this GearManifest

capabilities property writable

Gets the capabilities of this GearManifest.

Returns:

Type Description
list[str]

The capabilities of this GearManifest

cite property writable

Gets the cite of this GearManifest.

Returns:

Type Description
str

The cite of this GearManifest

command property writable

Gets the command of this GearManifest.

Returns:

Type Description
str

The command of this GearManifest

config property writable

Gets the config of this GearManifest.

Returns:

Type Description
object

The config of this GearManifest

custom property writable

Gets the custom of this GearManifest.

Returns:

Type Description
object

The custom of this GearManifest

description property writable

Gets the description of this GearManifest.

Returns:

Type Description
str

The description of this GearManifest

environment property writable

Gets the environment of this GearManifest.

Returns:

Type Description
dict(str, str)

The environment of this GearManifest

flywheel property writable

Gets the flywheel of this GearManifest.

Returns:

Type Description
dict(str, object)

The flywheel of this GearManifest

inputs property writable

Gets the inputs of this GearManifest.

Returns:

Type Description
dict(str, union[GearFileInput,GearContextInput,GearKeyInput])

The inputs of this GearManifest

label property writable

Gets the label of this GearManifest.

Returns:

Type Description
str

The label of this GearManifest

license property writable

Gets the license of this GearManifest.

Returns:

Type Description
str

The license of this GearManifest

maintainer property writable

Gets the maintainer of this GearManifest.

Returns:

Type Description
str

The maintainer of this GearManifest

name property writable

Gets the name of this GearManifest.

Returns:

Type Description
str

The name of this GearManifest

output_configuration property writable

Gets the output_configuration of this GearManifest.

Returns:

Type Description
GearOutputConfiguration

The output_configuration of this GearManifest

source property writable

Gets the source of this GearManifest.

Returns:

Type Description
str

The source of this GearManifest

url property writable

Gets the url of this GearManifest.

Returns:

Type Description
str

The url of this GearManifest

version property writable

Gets the version of this GearManifest.

Returns:

Type Description
str

The version of this GearManifest

__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__(name=None, inputs=None, config=None, custom=None, author=None, maintainer='', cite='', capabilities=None, description=None, environment=None, command='bash -c ./run', license=None, label=None, url=None, source=None, version=None, flywheel=None, output_configuration=None)

GearManifest - a model defined in Swagger

Parameters:

Name Type Description Default
name (str, optional)

, defaults to None

None
inputs (dict(str, union[GearFileInput, GearContextInput, GearKeyInput]), optional)

, defaults to None

None
config (object, optional)

, defaults to None

None
custom (object, optional)

, defaults to None

None
author (str, optional)

, defaults to None

None
maintainer (str, optional)

, defaults to ''

''
cite (str, optional)

, defaults to ''

''
capabilities (list[str], optional)

, defaults to None

None
description (str, optional)

, defaults to None

None
environment (dict(str, str), optional)

, defaults to None

None
command (str, optional)

, defaults to 'bash -c ./run'

'bash -c ./run'
license (str, optional)

, defaults to None

None
label (str, optional)

, defaults to None

None
url (str, optional)

, defaults to None

None
source (str, optional)

, defaults to None

None
version (str, optional)

, defaults to None

None
flywheel (dict(str, object), optional)

, defaults to None

None
output_configuration (GearOutputConfiguration, 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