Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit ad7e5c1

Browse files
authored
Fix credentials adapter (#139)
* Update storage adapter import str * Bump version to a5 * Update HISTORY
1 parent a3d8c76 commit ad7e5c1

File tree

5 files changed

+22
-10
lines changed

5 files changed

+22
-10
lines changed

HISTORY.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
# History
22

3+
## 2.0.0-alpha5 (2020-02-20)
4+
5+
- Fixed `Credentials` storage adapter import
6+
7+
## 2.0.0-alpha4 (2020-02-20)
8+
9+
- Updated MANIFEST
10+
311
## 2.0.0-alpha3 (2020-02-20)
412

5-
- Rename `pancloud` package directory to `pan_cortex_data_lake`
6-
- Publish to PyPI under new name, `pan-cortex-data-lake`
7-
- Move from RST to MD format for docs files
8-
- Drop support for `pipenv`
9-
- Update setup.cfg and setup.py
10-
- Update tests and test config files
13+
- Renamed `pancloud` package directory to `pan_cortex_data_lake`
14+
- Published to PyPI under new name, `pan-cortex-data-lake`
15+
- Moved from RST to MD format for docs files
16+
- Droped support for `pipenv`
17+
- Updated setup.cfg and setup.py
18+
- Updated tests and test config files
1119

1220
## 2.0.0-alpha2 (2020-01-09)
1321

pan_cortex_data_lake/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""Main package for cortex."""
44

55
__author__ = "Palo Alto Networks"
6-
__version__ = "2.0.0-a4"
6+
__version__ = "2.0.0-a5"
77

88
from .exceptions import ( # noqa: F401
99
CortexError,

pan_cortex_data_lake/credentials.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,10 @@ def __init__(
100100
self.scope = scope
101101
self.session = kwargs.pop("session", None)
102102
self.state = None
103-
self.adapter = storage_adapter or "pancloud.adapters.tinydb_adapter.TinyDBStore"
103+
self.adapter = (
104+
storage_adapter
105+
or "pan_cortex_data_lake.adapters.tinydb_adapter.TinyDBStore"
106+
)
104107
self.storage = self._init_adapter(storage_params)
105108
self.token_lock = Lock()
106109
self.token_url = token_url or API_BASE_URL

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 2.0.0a4
2+
current_version = 2.0.0a5
33
commit = True
44
tag = True
55

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020

2121
setup(
2222
name="pan-cortex-data-lake",
23-
version="2.0.0-alpha4",
23+
version="2.0.0-a5",
2424
description="Python idiomatic SDK for Cortex™ Data Lake.",
2525
long_description=readme + "\n\n" + history,
26+
long_description_content_type="text/markdown",
2627
author="Steven Serrata",
2728
author_email="[email protected]",
2829
url="https://github.com/PaloAltoNetworks/pan-cortex-data-lake-python",

0 commit comments

Comments
 (0)