Any endpoint which did not have a tag will be in youtrack_rest_client.api.If your endpoint had any tags on it, the first tag will be used as a module name for the function (my_tag above).All path/query params, and bodies become method arguments.asyncio_detailed: Like sync_detailed by async instead of blocking.asyncio: Like sync but the async instead of blocking.sync_detailed: Blocking request that always returns a Request, optionally with parsed set if the request was successful.sync: Blocking request that returns parsed data (if successful) or None.Every path/method combo becomes a Python module with four functions:.asyncio ( client = client ) response : Response = await get_my_data_model. Or do the same thing with an async version: from youtrack_rest_client.models import MyDataModel from youtrack_rest_tag import get_my_data_model from youtrack_rest_client.types import Response my_data : MyDataModel = await get_my_data_model. status_code) response : Response = get_my_data_model. sync ( client = client ) # or if you need more info (e.g. Now call your endpoint and use your models: from youtrack_rest_client.models import MyDataModel from youtrack_rest_tag import get_my_data_model from youtrack_rest_client.types import Response my_data : MyDataModel = get_my_data_model. an existing JIRA installation, consider importing your JIRA projects to YouTrack. There are two separate controls that determine which fields will be used for filtering issues, and which fields will be displayed in the table. YouTrack is a keyboard-centric bug and issue tracker Web application. You can manage the order of columns and decide which fields you want to see. If the endpoints you're going to hit require authentication, use AuthenticatedClient instead: from youtrack_rest_client import AuthenticatedClient client = AuthenticatedClient ( hub_base_url = "", youtrack_base_url = "", token = os. YouTrack Lite allows you to list issues in a fully customizable table view. Usageįirst, create a client: from youtrack_rest_client import Client client = Client ( hub_base_url = "", youtrack_base_url = "" ) If you find a bug or want to request a new feature, please create an issue in YouTrack. ⚠️This SDK generated using 2021.3 OpenAPI version by custom openapi-python-client which is under development. A client library for accessing YouTrack REST API
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |