def get_docker_runs_scheduled_by_state_and_labels(self, state : Optional[DockerRunScheduledState] = None, labels : Optional[conlist(StrictStr)] = None, version : Optional[StrictStr] = None, include_unlockable_runs : Annotated[Optional[StrictBool], Field(description="Unlockable runs are runs which can't be locked due to e.g another run with the same datasetId being locked/processed. This safeguards two workers processing the same dataset. Only has an effect if querying for runs with state=OPEN ")] = None, get_assets_of_team : Annotated[Optional[StrictBool], Field(description="if this flag is true, we get the relevant asset of the team of the user rather than the assets of the user")] = None, get_assets_of_team_inclusive_self : Annotated[Optional[StrictBool], Field(description="if this flag is true, we get the relevant asset of the team of the user including the assets of the user")] = None, **kwargs) -> List[DockerRunScheduledData]:  # noqa: E501
        """Get scheduled runs  # noqa: E501

        Get all scheduled docker runs of the user. Additionally, you can filter by state.  Furthermore, you can filter by only providing labels and only return scheduled runs whose runsOn labels are included in the provided labels. Runs are filtered by the provided version parameter. Version parameter set to * returns all configs   # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.get_docker_runs_scheduled_by_state_and_labels(state, labels, version, include_unlockable_runs, get_assets_of_team, get_assets_of_team_inclusive_self, async_req=True)
        >>> result = thread.get()

        :param state:
        :type state: DockerRunScheduledState
        :param labels:
        :type labels: List[str]
        :param version:
        :type version: str
        :param include_unlockable_runs: Unlockable runs are runs which can't be locked due to e.g another run with the same datasetId being locked/processed. This safeguards two workers processing the same dataset. Only has an effect if querying for runs with state=OPEN 
        :type include_unlockable_runs: bool
        :param get_assets_of_team: if this flag is true, we get the relevant asset of the team of the user rather than the assets of the user
        :type get_assets_of_team: bool
        :param get_assets_of_team_inclusive_self: if this flag is true, we get the relevant asset of the team of the user including the assets of the user
        :type get_assets_of_team_inclusive_self: bool
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: List[DockerRunScheduledData]
        """
        kwargs['_return_http_data_only'] = True
        if '_preload_content' in kwargs:
            raise ValueError("Error! Please call the get_docker_runs_scheduled_by_state_and_labels_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
        return self.get_docker_runs_scheduled_by_state_and_labels_with_http_info(state, labels, version, include_unlockable_runs, get_assets_of_team, get_assets_of_team_inclusive_self, **kwargs)  # noqa: E501
Get scheduled runs  # noqa: E501

        Get all scheduled docker runs of the user. Additionally, you can filter by state.  Furthermore, you can filter by only providing labels and only return scheduled runs whose runsOn labels are included in the provided labels. Runs are filtered by the provided version parameter. Version parameter set to * returns all configs   # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.get_docker_runs_scheduled_by_state_and_labels(state, labels, version, include_unlockable_runs, get_assets_of_team, get_assets_of_team_inclusive_self, async_req=True)
        >>> result = thread.get()

        :param state:
        :type state: DockerRunScheduledState
        :param labels:
        :type labels: List[str]
        :param version:
        :type version: str
        :param include_unlockable_runs: Unlockable runs are runs which can't be locked due to e.g another run with the same datasetId being locked/processed. This safeguards two workers processing the same dataset. Only has an effect if querying for runs with state=OPEN 
        :type include_unlockable_runs: bool
        :param get_assets_of_team: if this flag is true, we get the relevant asset of the team of the user rather than the assets of the user
        :type get_assets_of_team: bool
        :param get_assets_of_team_inclusive_self: if this flag is true, we get the relevant asset of the team of the user including the assets of the user
        :type get_assets_of_team_inclusive_self: bool
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: List[DockerRunScheduledData]
        
lightly/openapi_generated/swagger_client/api/docker_api.py