gws_core

Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version

ResourceRField

RField, these fields must be used in resource attribute This field is useful to link a resource with another resource without duplicating them. When the resource is saved after a task, the field must contains a Resource and if yes, this resource will be linked with the generated resource. Next time this resource is instantiated, the linked resource will be provided in the ResourceRField.

//!\ WARNING: the linked resource MUST be a resource provided as input of the task that generate the resource marked with ResourceRField. Otherwise there will be an error before saving the generated resource because it can break the tracability of resources

Attributes
include_in_dict_view: boolsearchable: bool
Functions
__init__
deserialize
r_field_value : str
Return type : Resource
get_default_value
Return type : Any
serialize
r_field_value : Resource
Return type : str