Components¶
-
class
grandchallenge.components.models.
ComponentInterface
(id, title, slug, description, default_value, kind, relative_path, store_in_database)[source]¶ - Parameters
id (AutoField) – Id
title (CharField) – Title. Human readable name of this input/output field.
slug (AutoSlugField) – Slug
description (TextField) – Description. Description of this input/output field.
default_value (JSONField) – Default value. Default value for this field, only valid for inputs.
kind (CharField) – Kind. What is the type of this interface? Used to validate interface values and connections between components.
relative_path (CharField) – Relative path. The path to the entity that implements this interface relative to the input or output directory.
store_in_database (BooleanField) – Store in database. Should the value be saved in a database field, only valid for outputs.
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
class
grandchallenge.components.models.
ComponentInterfaceValue
(*args, **kwargs)[source]¶ Encapsulates the value of an interface at a certain point in the graph.
- Parameters
id (BigAutoField) – Id
interface (ForeignKey to
ComponentInterface
) – Interfacevalue (JSONField) – Value
file (FileField) – File
image (ForeignKey to
Image
) – Image
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
class
grandchallenge.components.models.
DurationQuerySet
(model=None, query=None, using=None, hints=None)[source]¶
-
class
grandchallenge.components.models.
InterfaceKind
[source]¶ Interface kind.