-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhandlers.py
63 lines (44 loc) · 1.14 KB
/
handlers.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Automatically generated, do not edit.
from handlers_base import MusicBrainzEventHandler
class ReleaseEventHandler(MusicBrainzEventHandler):
@property
def artwork_schema(self):
return 'cover_art_archive'
@property
def domain(self):
return 'coverartarchive.org'
@property
def entity_type(self):
return 'release'
@property
def ia_collection(self):
return 'coverartarchive'
@property
def project_abbr(self):
return 'caa'
@property
def ws_inc_params(self):
return 'artists'
class EventEventHandler(MusicBrainzEventHandler):
@property
def artwork_schema(self):
return 'event_art_archive'
@property
def domain(self):
return 'eventartarchive.org'
@property
def entity_type(self):
return 'event'
@property
def ia_collection(self):
return 'eventartarchive'
@property
def project_abbr(self):
return 'eaa'
@property
def ws_inc_params(self):
return 'artist-rels+place-rels'
EVENT_HANDLER_CLASSES = {
'release': ReleaseEventHandler,
'event': EventEventHandler,
}