Download apps/core/utils/__init__.py from jun2024/fachuan: direct link, hf CLI and curl.
- Browser
- Download file 453 Bytes
-
https://huggingface.co/spaces/jun2024/fachuan/resolve/main/apps/core/utils/__init__.py
- Command line
-
hf download hf://spaces/jun2024/fachuan/apps/core/utils/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/jun2024/fachuan/resolve/main/apps/core/utils/__init__.py
453 Bytes
| """ | |
| Core utilities module | |
| 提供统一的工具类,供各模块使用. | |
| """ | |
| from .id_card_utils import IdCardInfo, IdCardUtils | |
| __all__ = [ | |
| "IdCardInfo", | |
| "IdCardUtils", | |
| "cast_model_id", | |
| "cast_model_pk", | |
| "get_queryset", | |
| "get_related_manager", | |
| "get_related_queryset", | |
| "cast_queryset", | |
| "cast_manager", | |
| "get_fk_id", | |
| "get_fk_instance", | |
| "ensure_model_id", | |
| "get_model_field_value", | |
| "has_model_field", | |
| ] | |