Skip to main content

Mock SAP Data Intelligence api

This small package can be used to mock the api-package of SAP Data Intelligence in order to develop an operator locally. It is assumed that the working directory has the SAP Data Intelligence vflow-structure (github-pull) and the Python-operator has been created previously with the 'Create Operator'-wizzard of the modeler. For details a blog will be published on SAP Community in May 2021.

To use the this add at the beginning of your script the following codelines:

try:
    api
except NameError:
    from utils.di_local_test import *

The following api attributes will be mocked:

  • config: with the attributes read from the operators.json-file
  • Message: creating a Message with attributes and body as attributes
  • send: prints the content of the message that is send to the port. Only the message data types `string' and 'message' are currently supported.

Metadata

Release files for mock-di-api 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mock-di-api 0.0.5
File Size Uploaded Provenance
mock_di_api-0.0.5.tar.gz 3.1 kB Without provenance Details

Release files / mock_di_api-0.0.5.tar.gz

Download URL mock_di_api-0.0.5.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7166713d3e8c1da51ca36e36a173ecd16ad48748cb0e053b41d4501fa565090b
BLAKE2b-256 checksum
How to use checksums
b485561bf5afc3ca8a842747f905d08a0470e5cf3555ee3570520b9fc4ac3dc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.0

Security for mock-di-api 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page