async def get(self,request_configuration: Optional[RequestConfiguration[OAuth2PermissionGrantItemRequestBuilderGetQueryParameters]] = None) -> Optional[OAuth2PermissionGrant]:
        """
        Delegated permission grants authorizing this service principal to access an API on behalf of a signed-in user. Read-only. Nullable.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[OAuth2PermissionGrant]
        """
        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.o_auth2_permission_grant import OAuth2PermissionGrant

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

        Delegated permission grants authorizing this service principal to access an API on behalf of a signed-in user. Read-only. Nullable.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[OAuth2PermissionGrant]
        
msgraph/generated/service_principals/item/oauth2_permission_grants/item/o_auth2_permission_grant_item_request_builder.py