mirror of
https://github.com/Ladebeze66/projetcbaollm.git
synced 2025-12-16 20:57:50 +01:00
12 lines
246 B
Python
12 lines
246 B
Python
from __future__ import annotations
|
|
|
|
from collections.abc import Mapping
|
|
import sys
|
|
from typing import Any
|
|
|
|
DATACLASS_KWARGS: Mapping[str, Any]
|
|
if sys.version_info >= (3, 10):
|
|
DATACLASS_KWARGS = {"slots": True}
|
|
else:
|
|
DATACLASS_KWARGS = {}
|