clearml-server/apiserver/schema/services
2021-07-25 14:29:41 +03:00
..
_api_defaults.conf Rename server to apiserver 2021-01-05 16:22:34 +02:00
_common.conf Fix batch operations results 2021-05-03 18:07:37 +03:00
auth.conf More secure auth.create_user and auth.get_token_for_user 2021-01-05 17:43:30 +02:00
debug.conf Rename server to apiserver 2021-01-05 16:22:34 +02:00
events.conf Support querying task events per specific metrics and variants 2021-07-25 14:29:41 +03:00
login.conf Add missing login.logout endpoint 2021-05-11 16:12:27 +03:00
models.conf Add Model.last_update to schema 2021-05-03 18:09:54 +03:00
organization.conf Rename migration script 2021-01-05 18:09:34 +02:00
projects.conf Add projects.validate_delete 2021-07-25 14:17:29 +03:00
queues.conf Fix docker_cmd projection in backwards compatibility 2021-05-03 18:06:39 +03:00
README.md Rename server to apiserver 2021-01-05 16:22:34 +02:00
server.conf Rename migration script 2021-01-05 18:09:34 +02:00
tasks.conf Fix schema for Task.runtime 2021-05-03 18:11:46 +03:00
users.conf Rename server to apiserver 2021-01-05 16:22:34 +02:00
workers.conf Fix ParseError import with new luqum version 2021-01-05 17:07:14 +02: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
        """