async def get(self,request_configuration: Optional[RequestConfiguration[TaskDefinitionsRequestBuilderGetQueryParameters]] = None) -> Optional[PrintTaskDefinitionCollectionResponse]:
        """
        Retrieve a list of task definitions that the requesting app defined in the tenant. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[PrintTaskDefinitionCollectionResponse]
        Find more info here: https://learn.microsoft.com/graph/api/print-list-taskdefinitions?view=graph-rest-1.0
        """
        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_collection_response import PrintTaskDefinitionCollectionResponse

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

        Retrieve a list of task definitions that the requesting app defined in the tenant. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[PrintTaskDefinitionCollectionResponse]
        Find more info here: https://learn.microsoft.com/graph/api/print-list-taskdefinitions?view=graph-rest-1.0
        
msgraph/generated/print/task_definitions/task_definitions_request_builder.py