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

import pjlsa_gsiint
a.oeftiger's avatar
a.oeftiger committed

with pjlsa_gsiint.LSAClientGSI().java_api():
a.oeftiger's avatar
a.oeftiger committed
    from cern.lsa.client import ServiceLocator, ContextService

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

for pattern in patterns:
    print (pattern)