Пример #1
0
def create_all():
    """
        Create all mappings in one go. First mbid mapping, then its typesense index and finally the year lookup mapping.
    """
    create_mbid_mapping()
    action_build_index()
    create_year_mapping()
Пример #2
0
def mbid_mapping():
    """
        Create the MBID mapping, which also creates the prerequisit artist-credit pairs table. This can be done during
        production as new tables are moved in place atomically.
    """
    create_mbid_mapping()
Пример #3
0
def mbid_mapping():
    create_mbid_mapping()