TALISMAN API adapter
Project description
ptal-api
Python adapter for Talisman-based app
How to create trivial adapter:
graphql_url = 'https://demo.talisman.ispras.ru/graphql' # or another talisman-based app
auth_url = 'https://demo.talisman.ispras.ru/auth/'
realm = 'demo'
client_id = 'web-ui'
client_secret = '<some-secret>'
gql_client = KeycloakAwareGQLClient(
graphql_url, 10000, 5,
auth_url=auth_url,
realm=realm, client_id=client_id, user='admin', pwd='admin',
client_secret=client_secret
).__enter__()
adapter = TalismanAPIAdapter(gql_client, {})
c = adapter.get_concept('ОК-123456')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ptal_api-1.0.0a1.tar.gz
(92.3 kB
view hashes)
Built Distribution
ptal_api-1.0.0a1-py3-none-any.whl
(103.2 kB
view hashes)
Close
Hashes for ptal_api-1.0.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39197027400be5a8672721c27e16ae12dc64c6f9353fab6494e01c5409ec4d0d |
|
MD5 | b953742325c3e9a3b0816305f850aa65 |
|
BLAKE2b-256 | 9ab537909cb6b0f204e509057c6cc6e7974757fb40fe0b7e97b13af414fad1cc |