utils.rcclient.dtos.request_dtos.code

Module Contents

Classes

CodeDto

class utils.rcclient.dtos.request_dtos.code.CodeDto
groupId: str
userInput: str
entityIds: List[str]
askAi: bool
withSignature: bool
outputs: List[str]
charts: List[str]
classmethod from_(code)

Creates an instance of the class from a code object.

Parameters:

code (Code) – The code object containing the necessary data.

Returns:

An instance of the class with attributes initialized from the code object.

Return type:

cls