Skip to content

Commit

Permalink
add database to bq connection, v0.10.17
Browse files Browse the repository at this point in the history
  • Loading branch information
pblankley committed Jun 29, 2023
1 parent 29bbde9 commit 23ebae0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions metrics_layer/core/parse/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ def __init__(
creds_to_use = credentials if credentials else keyfile
self.credentials = self._convert_json_if_needed(creds_to_use, kwargs)
self.project_id = self.credentials["project_id"]
self.database = self.project_id

def to_dict(self):
"""Dict for use with the BigQuery connector"""
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "metrics_layer"
version = "0.10.16"
version = "0.10.17"
description = "The open source metrics layer."
authors = ["Paul Blankley <paul@zenlytic.com>"]
keywords = ["Metrics Layer", "Business Intelligence", "Analytics"]
Expand Down

0 comments on commit 23ebae0

Please sign in to comment.