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-0.12.8.1.tar.gz
(88.7 kB
view hashes)
Built Distribution
Close
Hashes for ptal_api-0.12.8.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b70d34aa86e8056442277861db7f0ed45450088a3f2c540e7bd1d18d90197951 |
|
MD5 | 738f8d22c65b4d5839319c6ad931dc7b |
|
BLAKE2b-256 | dd247b6a96c77d8d4394f9af09a94ff30e20b5b1ff7cf17c54ca91c3d695559d |