Source code for nmdc_client.workflow_execution_search

# -*- coding: utf-8 -*-
import logging

from nmdc_client.collection_search import CollectionSearch
from nmdc_client.config import API_BASE_URL
from nmdc_client.decorators import has_deprecated_parameter

logger = logging.getLogger(__name__)


[docs] @has_deprecated_parameter("env", reason="Use ``api_base_url`` instead.") class WorkflowExecutionSearch(CollectionSearch): """ Class to interact with the NMDC API to search for records within the ``workflow_execution_set`` collection. """ def __init__(self, api_base_url: str = API_BASE_URL, env: str = ""): super().__init__( collection_name="workflow_execution_set", api_base_url=api_base_url, env=env, )