Commit 59594d93 authored by Nikita Yurishev's avatar Nikita Yurishev

Resolved merge conflicts in gitignore and influxConnection.py

parents 83b28f9d db1b181e
creds.env
from influxdb import InfluxDBClient
import os
from dotenv import load_dotenv
load_dotenv('/home/Projects/creds.env')
import time
#Загрузка файла с переменными окружения
load_dotenv('creds.env')
#Проверка
print("INFLUXDB_URL:", os.getenv('INFLUXDB_URL'))
print("INFLUXDB_DB:", os.getenv('INFLUXDB_DB'))
class InfluxConnection:
def __init__(self):
# Получение конфигурации из переменных окружения
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment