and then just catch them all (DatabaseException) and return an error
kartikgupta0909
yepp
alastairp
right. now, the stuff that Gentlecat is adding
see my other links above. we're being inconsistent in the two get methods when the data doesn't exist
Gentlecat
because if job_id is not a UUID, postgres will start complaining
alastairp
in the dataset get we raise an exception, in the job get we return None. We should do the same in both of them, so you should also change the get_job method to raise NoDataFoundException instead
Gentlecat: right. this is a common pattern. I wonder if we should have a decorator for it
Gentlecat
for validating an argument?
alastairp
can you do that? perhaps not
Gentlecat
it might be a bit ugly because it's not going to be very obvious
and it will always have to be in the same position I think
alastairp
anyway, at least some validation util
kartikgupta0909
ah Okay
Gentlecat
or not, if it's named
kartikgupta0909
I ll add the NoDataFoundException
Gentlecat
still a bit ugly. I think it's better to just have a function
alastairp
let's leave it out of this PR for now, because it's bigger than just the get_job
I want to get this merged first
yeah, a method is probably fine
ruaok: OK. I'll take a look through it
ruaok
thx
data flows nicely to Big Query. I'm collecting queries for use later.
ruaok goes to importa nasasie
kartikgupta0909
also alastairp: Do you know some company related to music technology where I could apply for an internship for next summer?
alastairp
many
do you have any preferred areas or countries?
kartikgupta0909
umm Dj software, or something like the EchoNest Labs
regions I am fine with Europe or US
preferably US since I havent been there
ariscop joined the channel
vin-ivar has quit
vin-ivar joined the channel
Catgroove
:D
Gentlecat
zas: what do I need to do to relay through gmail?
zas
from which machine do you want to relay ?
and which domain?
Gentlecat
whichever will host MeB.org when we deploy dockerized version
I am trying to create a listing for Festival Of Irish Music, Vol. 6 ( https://www.amazon.com/dp/B000006185 ). I found that this album was previously released under a different title and label number as "The Very Best Of Irish Music" ( https://musicbrainz.org/release/59d3cec4-34bd-4... ). Is it possible to get this album listed as a 'Release Duplicate' so that I don't need to manually import all the information
artist and songs that are already in the database? Thank you
reosarevok
CampSoup: #musicbrainz is better :) But you can click "Add Medium" on the tracklist page and search for the existing medium there
CampSoup
Ok, Ill try that
Thank you
Slurpee joined the channel
I didn't think of that even though I had actually looked at that feature earlier...
Last question, do I have to submit the new listing before I could submit the disc ID for the second disc in the album?