Skip to content

Module transpiler_mate.markdown

Variables

NA_ROLE
PERSON_TYPE
ROLE_TYPE
RoleKind

Functions

get_exection_command

def get_exection_command(
    clt: 'Any'
) -> 'str'

markdown_transpile

def markdown_transpile(
    source: 'Path',
    workflow_id: 'str',
    output_stream: 'TextIO',
    code_repository: 'str | None'
)

normalize_author

def normalize_author(
    value: 'Any'
) -> 'list[dict]'

normalize_contributor

def normalize_contributor(
    value: 'Any'
) -> 'list[dict]'

nullable

def nullable(
    type_: 'Any'
) -> 'bool'

type_to_string

def type_to_string(
    typ: 'Any'
) -> 'str'

Serializes a CWL type to a human-readable string.

Parameters:

Name Type Description Default
typ Any Any CWL type None

Returns:

Type Description
str The human-readable string representing the input CWL type.