lsst-uk / lsst-adler

Apache License 2.0
1 stars 0 forks source link

Add constructor to AdlerPlanetoid to read in from JSON #143

Closed astronomerritt closed 3 months ago

astronomerritt commented 4 months ago

While I have a draft version of this in a PR, it currently reads from a JSON file - probably not ideal. I think we need a construct_from_dict() for Kafka alerts and maybe a construct_from_tables() for reading from Cassandra (though Roy has written the Cassandra code to produce JSON/dict-like structures)