# Copyright (c) HashiCorp, Inc.# SPDX-License-Identifier: MPL-2.0"""Custom types used throughout Grove."""fromcollections.abcimportMutableMappingfromtypingimportAny,Dict,List,NamedTuple,Optional,Union
[docs]classHTTPResponse(NamedTuple):"""Provides both the headers and the body of an HTTP response."""headers:MutableMapping# type: ignorebody:Dict[str,Any]
[docs]classAuditLogEntries(NamedTuple):"""Provides both a pagination cursor and entries from an API response."""cursor:Union[Optional[str],Optional[int]]entries:List[Any]