async def get(self,request_configuration: Optional[RequestConfiguration[DefinitionRequestBuilderGetQueryParameters]] = None) -> Optional[PrintTaskDefinition]:
        """
        The printTaskDefinition that was used to create this task. Read-only.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[PrintTaskDefinition]
        """
        request_info = self.to_get_request_information(
            request_configuration
        )
        from .......models.o_data_errors.o_data_error import ODataError

        error_mapping: dict[str, type[ParsableFactory]] = {
            "XXX": ODataError,
        }
        if not self.request_adapter:
            raise Exception("Http core is null") 
        from .......models.print_task_definition import PrintTaskDefinition

        return await self.request_adapter.send_async(request_info, PrintTaskDefinition, error_mapping)

        The printTaskDefinition that was used to create this task. Read-only.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[PrintTaskDefinition]
        
msgraph/generated/print/task_definitions/item/tasks/item/definition/definition_request_builder.py