Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# refer: https://github.com/dependabot/dependabot-core/blob/main/.github/dependabot.yml
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates managed by Composer once a week
interval: "weekly"
day: "wednesday"
time: "03:00"
timezone: "Europe/London"

# python
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
day: "wednesday"
time: "03:00"
timezone: "Europe/London"
groups:
common:
patterns:
- hashin
- cython
- flake8
# Keep the package managers themselves separate because they are higher risk
# and also higher visibility--ie, users generally want latest, so we don't
# want breakage in the `common` group to prevent updating package manager versions
pip:
patterns:
- pip
pip-tools:
patterns:
- pip-tools
pipenv:
patterns:
- pipfile
- pipenv
poetry:
patterns:
- poetry
7 changes: 2 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ Example usage:
-u https://app.datatrails.ai \
--client-id <your-client-id> \
--client-secret <your-client-secret> \
functests/test_resources/richness_story.yaml
functests/test_resources/subjects_story.yaml


Example Yaml Snippet
Expand All @@ -251,7 +251,7 @@ the yaml representation of the request body for an asset or event.

The confirm: field is a control variable for the PythonSDK that ensures that the
asset or event is confirmed before returning. This is optional and is only required
3rd parties need to immediately retrieve and cryptographically
if 3rd parties need to immediately retrieve and cryptographically
verify your Assets, which can take a few seconds to propagate. It is typically
not necessary to wait unless your workflow involves near-real-time
communication with 3rd parties and the 3rd party needs instant cryptographic
Expand All @@ -269,9 +269,6 @@ verification of your new Asset.
.. code:: yaml

---
# Demonstration of applying a Richness compliance policy to an asset that undergoes
# events that may or may not make the asset compliant or non-compliant.
#
# The operation field is a string that represents the method bound to an endpoint and
# the args and kwargs correspond to the arguments to such a method.
#
Expand Down
6 changes: 0 additions & 6 deletions archivist/archivist.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@
from .assetattachments import _AssetAttachmentsClient
from .assets import _AssetsRestricted
from .attachments import _AttachmentsClient
from .compliance import _ComplianceClient
from .compliance_policies import _CompliancePoliciesClient
from .composite import _CompositeClient
from .confirmer import MAX_TIME
from .constants import (
Expand Down Expand Up @@ -96,8 +94,6 @@ class Archivist(ArchivistPublic): # pylint: disable=too-many-instance-attribute
"appidp": _AppIDPClient,
"applications": _ApplicationsClient,
"attachments": _AttachmentsClient,
"compliance": _ComplianceClient,
"compliance_policies": _CompliancePoliciesClient,
"composite": _CompositeClient,
"events": _EventsRestricted,
"locations": _LocationsClient,
Expand Down Expand Up @@ -144,8 +140,6 @@ def __init__(
self.assets: _AssetsRestricted
self.assetattachments: _AssetAttachmentsClient
self.attachments: _AttachmentsClient
self.compliance: _ComplianceClient
self.compliance_policies: _CompliancePoliciesClient
self.composite: _CompositeClient
self.events: _EventsRestricted
self.locations: _LocationsClient
Expand Down
121 changes: 0 additions & 121 deletions archivist/compliance.py

This file was deleted.

Loading