BaseView
Methods:
-
should_render_graphql_ide
Signature:
def should_render_graphql_ide(self, request: BaseRequestProtocol) -> bool:...Parameters:
-
request:
- Type
-
BaseRequestProtocol
-
-
is_request_allowed
Signature:
def is_request_allowed(self, request: BaseRequestProtocol) -> bool:...Parameters:
-
request:
- Type
-
BaseRequestProtocol
-
-
parse_json
Signature:
def parse_json(self, data: str | bytes) -> Any:...Parameters:
-
data:
- Type
-
str | bytes
-
-
encode_json
Signature:
def encode_json(self, response_data: GraphQLHTTPResponse) -> str:...Parameters:
-
response_data:
- Type
-
GraphQLHTTPResponse
-
-
parse_query_params
Signature:
def parse_query_params(self, params: QueryParams) -> Dict[str, Any]:...Parameters:
-
params:
- Type
-
QueryParams
-
Attributes:
-
graphql_ide:
- Type
-
GraphQL_IDE | None
-
graphql_ide_html:
- Type
-
str