Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.56 KB

EventTaskFieldMapping.md

File metadata and controls

25 lines (19 loc) · 1.56 KB

EventTaskFieldMapping

How an Event Launcher fills one field of the root task from the event that arrived

Properties

Name Type Description Notes
map_from str The path into the event the value is taken from, for example header.timestamp. The path must be in the schema of the event type, and the value must suit the type of the field. A string fills a String or LusidUserId field, a number fills a Decimal field, a boolean fills a Boolean field, and a date and time fills a DateTime field. A path to an identifier collection names a key, for example body.identifiers[Instrument/default/Figi], and fills a String field
date_time_adjustment DateTimeAdjustment [optional]

Example

from lusid_workflow.models.event_task_field_mapping import EventTaskFieldMapping
from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
from typing_extensions import Annotated
from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
from datetime import datetime

map_from: StrictStr = "example_map_from"
date_time_adjustment: Optional[DateTimeAdjustment] = # Replace with your value
event_task_field_mapping_instance = EventTaskFieldMapping(map_from=map_from, date_time_adjustment=date_time_adjustment)

Back to Model list • Back to API list • Back to README