Skip to content

Commit

Permalink
Bump (#95)
Browse files Browse the repository at this point in the history
- ran black
- updated to v1.3.3
- update to new 1.1.4 api.
  • Loading branch information
carlkidcrypto authored Feb 22, 2024
1 parent 15f3ebd commit 69c96ce
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions purpleair_data_logger/PurpleAirPSQLDataLogger.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ def __init__(self, PurpleAirAPIReadKey, PurpleAirAPIWriteKey, psql_db_conn):

# Create some prepared statements
self._db_prepared_statements = {}
self._db_prepared_statements[
"station_information_and_status_fields"
] = self._db_conn.prepare(
PSQL_INSERT_STATEMENT_STATION_INFORMATION_AND_STATUS_FIELDS
self._db_prepared_statements["station_information_and_status_fields"] = (
self._db_conn.prepare(
PSQL_INSERT_STATEMENT_STATION_INFORMATION_AND_STATUS_FIELDS
)
)
self._db_prepared_statements["environmental_fields"] = self._db_conn.prepare(
PSQL_INSERT_STATEMENT_ENVIRONMENTAL_FIELDS
Expand All @@ -114,9 +114,9 @@ def __init__(self, PurpleAirAPIReadKey, PurpleAirAPIWriteKey, psql_db_conn):
self._db_prepared_statements["pm2_5_fields"] = self._db_conn.prepare(
PSQL_INSERT_STATEMENT_PM2_5_FIELDS
)
self._db_prepared_statements[
"pm2_5_pseudo_average_fields"
] = self._db_conn.prepare(PSQL_INSERT_STATEMENT_PM2_5_PSEUDO_AVERAGE_FIELDS)
self._db_prepared_statements["pm2_5_pseudo_average_fields"] = (
self._db_conn.prepare(PSQL_INSERT_STATEMENT_PM2_5_PSEUDO_AVERAGE_FIELDS)
)
self._db_prepared_statements["pm10_0_fields"] = self._db_conn.prepare(
PSQL_INSERT_STATEMENT_PM10_0_FIELDS
)
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = purpleair_data_logger
version = 1.3.2
version = 1.3.3
license = MIT
author = Carlos Santos
author_email = [email protected]
Expand All @@ -27,5 +27,5 @@ packages = purpleair_data_logger
install_requires =
pg8000==1.30.4
requests
purpleair_api==1.1.3
purpleair_api==1.1.4
python_requires = >=3.8
2 changes: 1 addition & 1 deletion sphinx_docs_build/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
author = "carlkidcrypto"

# The full version, including alpha/beta/rc tags
release = "V1.3.2"
release = "V1.3.3"


# -- General configuration ---------------------------------------------------
Expand Down

0 comments on commit 69c96ce

Please sign in to comment.