You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
from .influxdb_mgr import iot_influxdb
|
|
|
|
|
|
|
|
def init_iot(app) -> None:
|
|
import logging
|
|
logger = logging.getLogger(__name__)
|
|
|
|
try:
|
|
iot_influxdb.init_app(app)
|
|
except Exception as e:
|
|
logger.error(f"初始化influxdb_mgr失败: {e}", exc_info=True) |