Working smarter to fight cancer: using dunder special methods to automate by Ryan Hill

Conference: PyCon SE 2022

Year: 2022

Working smarter to fight cancer: using dunder special methods to automate code generation. Anocca has developed a set of novel biotechnologies for deciphering and harnessing the human adaptive immune system to treat cancers. To support our biotech, we have created an information management system and a suite of automated data processing pipelines. The backend is built with Django, Celery, PostgreSQL and a GraphQL API. At Anocca we have a “smarter-not-harder” approach to our development process. We will present the use of the __init_subclass__​ and type​ special methods to automate schema and class generation, reducing boilerplate and repetitive code in our codebase.