Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from ladon.ladonizer import ladonize
- from ladon.compat import PORTABLE_STRING
- from ladon.exceptions.types import LadonTypeException
- import psycopg2
- from adr.tridy import Album, Band
- class TestService(object):
- """
- Search through albums and bands.
- """
- @ladonize(PORTABLE_STRING,rtype=[ Band ])
- def listBands(self,search_frase=PORTABLE_STRING('')):
- try:
- raise Exception('error')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement