clearml-server/apiserver/schema/services
2024-12-05 19:12:26 +02:00
..
_api_defaults.conf
_common.conf
_events_common.conf
_tasks_common.conf Support for first and mean value for task last scalar metrics 2024-12-05 19:02:48 +02:00
auth.conf
debug.conf
events.conf Version bump to 1.16.0 2024-06-20 17:55:17 +03:00
login.conf
models.conf
organization.conf
pipelines.conf
projects.conf
queues.conf
README.md
reports.conf
server.conf
tasks.conf add update_execution_queue parameter to tasks.enqueue 2024-12-05 19:12:26 +02:00
users.conf
workers.conf Add worker_pattern parameter to workers.get_all and get_count endpoints 2024-06-20 17:59:28 +03:00

Writing descriptions

There are two options for writing parameters descriptions. Mixing between the two will result in output which is not Sphinx friendly. Whatever you choose, lines are subject to wrapping.

  • non-strict whitespace - Break the string however you like. Newlines and sequences of tabs/spaces are replaced by one space. Example:
    get_all {
        "1.5" {
            description: """This will all appear
            as one long
            sentence.
            Break lines wherever you
            like.
            """
        }
    }
    
    Becomes:
    class GetAllRequest(...):
        """
        This will all appear as one long sentence. Break lines wherever you
        like.
        """
    
  • strict whitespace - Single newlines will be replaced by spaces. Double newlines become a single newline WITH INDENTATION PRESERVED, so if uniform indentation is requried for all lines you MUST start new lines at the first column. Example:
    get_all {
        "1.5" {
            description: """
    Some general sentence.
    
    - separate lines must have double newlines between them
    
    - must begin at first column even though the "description" key is indented
    
    - you can use single newlines, the lines will be
      joined
    
        -- sub bullet: this line's leading spaces are preserved
    """
        }
    }
    
    Becomes:
    class GetAllRequest(...):
        """
        Some general sentence.
        - separate lines must have double newlines between them
        - must begin at first column even though the "description" key is indented
        - you can use single newlines, the lines will be joined
            -- sub bullet: this line's leading spaces are preserved
        """