Skip to content
Snippets Groups Projects
example.py 311 B
Newer Older
a.oeftiger's avatar
a.oeftiger committed
#!/usr/bin/env python3

import pjlsa_gsi

with pjlsa_gsi.LSAClientGSI(server='gsi-int').java_api():
    from cern.lsa.client import ServiceLocator, ContextService

contextService = ServiceLocator.getService(ContextService)
patterns = contextService.findPatterns()

for pattern in patterns:
    print (pattern)