Debian Codegraph @

src/auth0/management/core/force_multipart.py

raw symbols SCIP
1 # This file was auto-generated by Fern from our API Definition.
2
3 from typing import Any, Dict
4
5
6 class ForceMultipartDict(Dict[str, Any]):
7 """
8 A dictionary subclass that always evaluates to True in boolean contexts.
9
10 This is used to force multipart/form-data encoding in HTTP requests even when
11 the dictionary is empty, which would normally evaluate to False.
12 """
13
14 def __bool__(self) -> bool:
15 return True
16
17
18 FORCE_MULTIPART = ForceMultipartDict()