entropy-data 0.3.8__tar.gz → 0.3.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. {entropy_data-0.3.8 → entropy_data-0.3.9}/CHANGELOG.md +4 -0
  2. {entropy_data-0.3.8 → entropy_data-0.3.9}/PKG-INFO +1 -1
  3. {entropy_data-0.3.8 → entropy_data-0.3.9}/pyproject.toml +1 -1
  4. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/access.py +5 -0
  5. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/commands/test_access_request.py +5 -1
  6. {entropy_data-0.3.8 → entropy_data-0.3.9}/.editorconfig +0 -0
  7. {entropy_data-0.3.8 → entropy_data-0.3.9}/.github/dependabot.yml +0 -0
  8. {entropy_data-0.3.8 → entropy_data-0.3.9}/.github/pull_request_template.md +0 -0
  9. {entropy_data-0.3.8 → entropy_data-0.3.9}/.github/workflows/ci.yaml +0 -0
  10. {entropy_data-0.3.8 → entropy_data-0.3.9}/.github/workflows/release.yaml +0 -0
  11. {entropy_data-0.3.8 → entropy_data-0.3.9}/.gitignore +0 -0
  12. {entropy_data-0.3.8 → entropy_data-0.3.9}/.pre-commit-config.yaml +0 -0
  13. {entropy_data-0.3.8 → entropy_data-0.3.9}/CLAUDE.md +0 -0
  14. {entropy_data-0.3.8 → entropy_data-0.3.9}/Dockerfile +0 -0
  15. {entropy_data-0.3.8 → entropy_data-0.3.9}/LICENSE +0 -0
  16. {entropy_data-0.3.8 → entropy_data-0.3.9}/README.md +0 -0
  17. {entropy_data-0.3.8 → entropy_data-0.3.9}/release +0 -0
  18. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/__init__.py +0 -0
  19. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/__main__.py +0 -0
  20. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/cli.py +0 -0
  21. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/client.py +0 -0
  22. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/__init__.py +0 -0
  23. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/api_keys.py +0 -0
  24. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/assets.py +0 -0
  25. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/certifications.py +0 -0
  26. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/connection.py +0 -0
  27. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/connectors.py +0 -0
  28. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/costs.py +0 -0
  29. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/datacontracts.py +0 -0
  30. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/dataproducts.py +0 -0
  31. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/definitions.py +0 -0
  32. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/events.py +0 -0
  33. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/example_data.py +0 -0
  34. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/git_credentials.py +0 -0
  35. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/gitconnections.py +0 -0
  36. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/import_export.py +0 -0
  37. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/lineage.py +0 -0
  38. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/notification_channels.py +0 -0
  39. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/organization.py +0 -0
  40. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/policies.py +0 -0
  41. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/search.py +0 -0
  42. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/semantics.py +0 -0
  43. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/settings.py +0 -0
  44. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/sourcesystems.py +0 -0
  45. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/tags.py +0 -0
  46. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/teams.py +0 -0
  47. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/test_results.py +0 -0
  48. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/commands/usage.py +0 -0
  49. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/config.py +0 -0
  50. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/output.py +0 -0
  51. {entropy_data-0.3.8 → entropy_data-0.3.9}/src/entropy_data/util.py +0 -0
  52. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/__init__.py +0 -0
  53. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/commands/__init__.py +0 -0
  54. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/commands/test_api_keys.py +0 -0
  55. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/commands/test_assets.py +0 -0
  56. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/commands/test_connection.py +0 -0
  57. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/commands/test_connectors.py +0 -0
  58. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/commands/test_costs.py +0 -0
  59. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/commands/test_datacontracts.py +0 -0
  60. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/commands/test_dataproducts.py +0 -0
  61. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/commands/test_git_credentials.py +0 -0
  62. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/commands/test_gitconnections.py +0 -0
  63. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/commands/test_lineage.py +0 -0
  64. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/commands/test_notification_channels.py +0 -0
  65. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/commands/test_organization.py +0 -0
  66. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/commands/test_policies.py +0 -0
  67. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/commands/test_semantics.py +0 -0
  68. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/commands/test_settings.py +0 -0
  69. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/commands/test_tags.py +0 -0
  70. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/commands/test_teams.py +0 -0
  71. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/commands/test_usage.py +0 -0
  72. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/conftest.py +0 -0
  73. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/test_client.py +0 -0
  74. {entropy_data-0.3.8 → entropy_data-0.3.9}/tests/test_config.py +0 -0
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.3.9]
6
+
7
+ - `entropy-data access request` now sets `info.startDate` to today by default. Without it, the platform left auto-approved agreements with `info.active: false`, and lineage / input-port views silently skipped them.
8
+
5
9
  ## [0.3.8]
6
10
 
7
11
  - Add `entropy-data policies list|get|put|delete` to manage policies. Wraps `/api/policies` and `/api/policies/{externalId}`.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: entropy-data
3
- Version: 0.3.8
3
+ Version: 0.3.9
4
4
  Summary: CLI for Entropy Data
5
5
  Project-URL: Homepage, https://entropy-data.com
6
6
  Project-URL: Documentation, https://docs.entropy-data.com
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "entropy-data"
3
- version = "0.3.8"
3
+ version = "0.3.9"
4
4
  description = "CLI for Entropy Data"
5
5
  requires-python = ">=3.11"
6
6
  license = "MIT"
@@ -1,6 +1,7 @@
1
1
  """Access (data usage agreements) commands."""
2
2
 
3
3
  import uuid
4
+ from datetime import date
4
5
  from pathlib import Path
5
6
  from typing import Annotated, Optional
6
7
 
@@ -207,6 +208,10 @@ def request_access(
207
208
  "consumer": consumer,
208
209
  "info": {
209
210
  "purpose": purpose,
211
+ # Default startDate so the platform can flip info.active to true once approved.
212
+ # Without it, the agreement stays inactive even after approval, and the data
213
+ # product's lineage / input-port views silently skip it.
214
+ "startDate": date.today().isoformat(),
210
215
  },
211
216
  }
212
217
  if roles:
@@ -2,6 +2,7 @@
2
2
 
3
3
  import json
4
4
  import re
5
+ from datetime import date
5
6
 
6
7
  import responses
7
8
  from typer.testing import CliRunner
@@ -49,7 +50,10 @@ def test_request_with_consumer_team(monkeypatch, tmp_path):
49
50
  body = captured["body"]
50
51
  assert body["provider"] == {"dataProductId": "dp_account_master", "outputPortId": "accounts"}
51
52
  assert body["consumer"] == {"teamId": "customer-success"}
52
- assert body["info"] == {"purpose": "Building churn model."}
53
+ assert body["info"] == {
54
+ "purpose": "Building churn model.",
55
+ "startDate": date.today().isoformat(),
56
+ }
53
57
  assert UUID_RE.match(body["id"])
54
58
 
55
59
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes