=================================== ``label_absent``: A label is absent =================================== A label is absent from a pull request. Holds when the pull request does not have the label of the input ``label``: the opposite of ``label_exists``. It is checked on pull requests only. While the data of a pull request is not complete, the condition cannot be assessed yet. Inputs ====== .. list-table:: :header-rows: 1 * - Name - Type - Required - What it is * - ``label`` - ``string-label`` - yes - The name of a label of the repository. The type ``string-label`` is the name of a label of the repository: the configuration is refused with :class:`~pycal_dashboard.errors.conditions.ConditionLabelUnknown` for a name the repository does not have; its case does not matter. The inputs as JSON: .. code-block:: json {"label": "work in progress"} Data ==== The update of the repository reads in the background: ``labels`` The labels of the repository and of the pull request. Permissions of the GitHub App: ``metadata``: read, ``issues``: read; webhooks: ``label``, ``issues``, ``pull_request``. API reference ============= .. autoclass:: pycal_dashboard.conditions.condition.label_absent.LabelAbsent :members: assess :show-inheritance: