diff --git a/src/linkahead/high_level_api.py b/src/linkahead/high_level_api.py index 18d219c732672d16d0ab43e562cfe73d682614fe..9aa59fb9187ff47e71c412568af50e1031c42fb7 100644 --- a/src/linkahead/high_level_api.py +++ b/src/linkahead/high_level_api.py @@ -26,11 +26,12 @@ # type: ignore """ A high level API for accessing LinkAhead entities from within python. +This module is experimental, and may be changed or removed in the future. This is refactored from apiutils. """ -import warnings +import logging from dataclasses import dataclass, fields from datetime import datetime from typing import Any, Dict, List, Optional, Union @@ -44,7 +45,10 @@ from .common.datatype import (BOOLEAN, DATETIME, DOUBLE, FILE, INTEGER, REFERENCE, TEXT, get_list_datatype, is_list_datatype, is_reference) -warnings.warn("""EXPERIMENTAL! The high_level_api module is experimental and may be changed or +logger = logging.getLogger(__name__) + + +logger.warning("""EXPERIMENTAL! The high_level_api module is experimental and may be changed or removed in the future. Its purpose is to give an impression on how the Python client user interface might be changed.""")