Incountry

Latest version: v5.0.0

Safety actively analyzes 687881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

3.4.0

3.3.0

v3.3.0 is a minor release introducing attachments API, partial match search via newly introduced non-hashing mode, and various documentation updates.

🏆 New Feature
- https://github.com/incountry/sdk-python/pull/127 [Python SDK] Add file upload/read methods
- https://github.com/incountry/sdk-python/pull/129 [Python SDK] Add non-hashing mode for key1-key10
- https://github.com/incountry/sdk-python/pull/130 [Python SDK] Add search_keys filter support

💎 Enhancements
- https://github.com/incountry/sdk-python/pull/141 [Python SDK] Add py.typed file

📝 Documentation
- https://github.com/incountry/sdk-python/pull/132 [Python SDK] File storage README
- https://github.com/incountry/sdk-python/pull/139 https://github.com/incountry/sdk-python/pull/133 [Python SDK] Update README introduction section

🔧 Bug Fixes
- https://github.com/incountry/sdk-python/pull/131 [Python SDK] SDK should accept base64 encoded keys in SecretsData instead of utf-8 encoded - fixes encryption keys being treated as utf-8 encoded strings rather than base64 encoded ones

3.0.0

Below are examples of to adapt your code to `key` -> `record_key`, `range_key` -> `range_key1` renamings.

`Storage.write()`
diff
write_result = storage.write(
country=COUNTRY,
- key=some_key,
- range_key=1,
+ record_key=some_key,
+ range_key1=1,
body=some_body,
)
- print(write_result["record"]["key"])
- print(write_result["record"]["range_key"])
+ print(write_result["record"]["record_key"])
+ print(write_result["record"]["range_key1"])


`Storage.read()`
diff
read_result = storage.read(
country=COUNTRY,
- key=some_key,
+ record_key=some_key,
)
- print(read_result["record"]["key"])
- print(read_result["record"]["range_key"])
+ print(read_result["record"]["record_key"])
+ print(read_result["record"]["range_key1"])


`Storage.delete()`
diff
- storage.delete(country=COUNTRY, key=some_key)
+ storage.delete(country=COUNTRY, record_key=some_key)


`Storage.find()`
diff
find_result = storage.find(
country=COUNTRY,
- key=some_key,
- range_key=1,
+ record_key=some_key,
+ range_key1=1,
)
- print(find_result["records"][0]["key"])
- print(find_result["records"][0]["range_key"])
+ print(find_result["records"][0]["record_key"])
+ print(find_result["records"][0]["range_key1"])


`Storage.find_one()`
diff
find_result = storage.find_one(
country=COUNTRY,
- key=some_key,
- range_key=1,
+ record_key=some_key,
+ range_key1=1,
)
- print(find_result["record"]["key"])
- print(find_result["record"]["range_key"])
+ print(find_result["record"]["record_key"])
+ print(find_result["record"]["range_key1"])

2.1.0

2.0.0

1.1.2

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.