class_docstr: NOTE: This class is auto generated by OpenAPI Generator
  Ref: https://openapi-generator.tech
  
  Do not edit the class manually.
class_docstr_tok: ["NOTE",":","This","class","is","auto","generated","by","OpenAPI","Generator","Ref",":","https",":","\/\/openapi-generator.tech","Do","not","edit","the","class","manually","."]
docstr: (Deprecated) export_tag_to_label_box_data_rows  # noqa: E501
  
  DEPRECATED - Please use V4 unless there is a specific need to use the LabelBox V3 API. Export samples of a tag as a json for importing into LabelBox as outlined here; https://docs.labelbox.com/v3/reference/image ```openapi\+warning The image URLs are special in that the resource can be accessed by anyone in possession of said URL for the time specified by the expiresIn query param ```   # noqa: E501
  This method makes a synchronous HTTP request by default. To make an
  asynchronous HTTP request, please pass async_req=True
  
  >>> thread = api.export_tag_to_label_box_data_rows(dataset_id, tag_id, expires_in, access_control, file_name_format, include_meta_data, format, preview_example, page_size, page_offset, async_req=True)
  >>> result = thread.get()
  
  :param dataset_id: ObjectId of the dataset (required)
  :type dataset_id: str
  :param tag_id: ObjectId of the tag (required)
  :type tag_id: str
  :param expires_in: If defined, the URLs provided will only be valid for amount of seconds from time of issuence. If not defined, the URls will be valid indefinitely. 
  :type expires_in: int
  :param access_control: which access control name to be used
  :type access_control: str
  :param file_name_format:
  :type file_name_format: FileNameFormat
  :param include_meta_data: if true, will also include metadata
  :type include_meta_data: bool
  :param format:
  :type format: FileOutputFormat
  :param preview_example: if true, will generate a preview example of how the structure will look
  :type preview_example: bool
  :param page_size: pagination size/limit of the number of samples to return
  :type page_size: int
  :param page_offset: pagination offset
  :type page_offset: int
  :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[LabelBoxDataRow]
code: def export_tag_to_label_box_data_rows(
      self,
      dataset_id: Annotated[
          constr(strict=True),
          Field(..., description="ObjectId of the dataset"),
      ],
      tag_id: Annotated[
          constr(strict=True),
          Field(..., description="ObjectId of the tag"),
      ],
      expires_in: Annotated[
          Optional[StrictInt],
          Field(
              description="If defined, the URLs provided will only be valid for amount of seconds from time of issuence. If not defined, the URls will be valid indefinitely. "
          ),
      ] = None,
      access_control: Annotated[
          Optional[StrictStr],
          Field(description="which access control name to be used"),
      ] = None,
      file_name_format: Optional[FileNameFormat] = None,
      include_meta_data: Annotated[
          Optional[StrictBool],
          Field(description="if true, will also include metadata"),
      ] = None,
      format: Optional[FileOutputFormat] = None,
      preview_example: Annotated[
          Optional[StrictBool],
          Field(
              description="if true, will generate a preview example of how the structure will look"
          ),
      ] = None,
      page_size: Annotated[
          Optional[conint(strict=True, ge=1)],
          Field(
              description="pagination size/limit of the number of samples to return"
          ),
      ] = None,
      page_offset: Annotated[
          Optional[conint(strict=True, ge=0)],
          Field(description="pagination offset"),
      ] = None,
      **kwargs,
  ) -> List[LabelBoxDataRow]:  # noqa: E501
      """(Deprecated) export_tag_to_label_box_data_rows  # noqa: E501
  
      DEPRECATED - Please use V4 unless there is a specific need to use the LabelBox V3 API. Export samples of a tag as a json for importing into LabelBox as outlined here; https://docs.labelbox.com/v3/reference/image ```openapi\\+warning The image URLs are special in that the resource can be accessed by anyone in possession of said URL for the time specified by the expiresIn query param ```   # noqa: E501
      This method makes a synchronous HTTP request by default. To make an
      asynchronous HTTP request, please pass async_req=True
  
      >>> thread = api.export_tag_to_label_box_data_rows(dataset_id, tag_id, expires_in, access_control, file_name_format, include_meta_data, format, preview_example, page_size, page_offset, async_req=True)
      >>> result = thread.get()
  
      :param dataset_id: ObjectId of the dataset (required)
      :type dataset_id: str
      :param tag_id: ObjectId of the tag (required)
      :type tag_id: str
      :param expires_in: If defined, the URLs provided will only be valid for amount of seconds from time of issuence. If not defined, the URls will be valid indefinitely.
      :type expires_in: int
      :param access_control: which access control name to be used
      :type access_control: str
      :param file_name_format:
      :type file_name_format: FileNameFormat
      :param include_meta_data: if true, will also include metadata
      :type include_meta_data: bool
      :param format:
      :type format: FileOutputFormat
      :param preview_example: if true, will generate a preview example of how the structure will look
      :type preview_example: bool
      :param page_size: pagination size/limit of the number of samples to return
      :type page_size: int
      :param page_offset: pagination offset
      :type page_offset: int
      :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[LabelBoxDataRow]
      """
      kwargs["_return_http_data_only"] = True
      if "_preload_content" in kwargs:
          raise ValueError(
              "Error! Please call the export_tag_to_label_box_data_rows_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data"
          )
      return self.export_tag_to_label_box_data_rows_with_http_info(
          dataset_id,
          tag_id,
          expires_in,
          access_control,
          file_name_format,
          include_meta_data,
          format,
          preview_example,
          page_size,
          page_offset,
          **kwargs,
      )
  
imports: import re
  import io
  import warnings
  from pydantic import validate_arguments, ValidationError
  from typing_extensions import Annotated
  from pydantic import Field, StrictBool, StrictInt, StrictStr, conint, constr, validator
  from typing import List, Optional, Union
  from lightly.openapi_generated.swagger_client.models.create_entity_response import CreateEntityResponse
  from lightly.openapi_generated.swagger_client.models.file_name_format import FileNameFormat
  from lightly.openapi_generated.swagger_client.models.file_output_format import FileOutputFormat
  from lightly.openapi_generated.swagger_client.models.filename_and_read_url import FilenameAndReadUrl
  from lightly.openapi_generated.swagger_client.models.initial_tag_create_request import InitialTagCreateRequest
  from lightly.openapi_generated.swagger_client.models.label_box_data_row import LabelBoxDataRow
  from lightly.openapi_generated.swagger_client.models.label_box_v4_data_row import LabelBoxV4DataRow
  from lightly.openapi_generated.swagger_client.models.label_studio_task import LabelStudioTask
  from lightly.openapi_generated.swagger_client.models.sama_task import SamaTask
  from lightly.openapi_generated.swagger_client.models.tag_arithmetics_request import TagArithmeticsRequest
  from lightly.openapi_generated.swagger_client.models.tag_arithmetics_response import TagArithmeticsResponse
  from lightly.openapi_generated.swagger_client.models.tag_bit_mask_response import TagBitMaskResponse
  from lightly.openapi_generated.swagger_client.models.tag_create_request import TagCreateRequest
  from lightly.openapi_generated.swagger_client.models.tag_data import TagData
  from lightly.openapi_generated.swagger_client.models.tag_update_request import TagUpdateRequest
  from lightly.openapi_generated.swagger_client.models.tag_upsize_request import TagUpsizeRequest
  from lightly.openapi_generated.swagger_client.api_client import ApiClient
  from lightly.openapi_generated.swagger_client.api_response import ApiResponse
  from lightly.openapi_generated.swagger_client.exceptions import ApiTypeError, ApiValueError
label_desc: Use image node_id 14 for calling the TagsApi obj's underlying member method code with example usage: obj.export_tag_to_label_box_data_rows(dataset_id, tag_id, expires_in, access_control, file_name_format, include_meta_data, format, preview_example, page_size, page_offset) and returns: self