| Total Complexity | 1 |
| Total Lines | 9 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | def default_primitive_serializer(obj: object, **_) -> object: |
||
| 2 | """ |
||
| 3 | Serialize a primitive; simply return the given ``obj``. |
||
| 4 | :param obj: the primitive. |
||
| 5 | :param _: not used. |
||
| 6 | :return: ``obj``. |
||
| 7 | """ |
||
| 8 | return obj |
||
| 9 |