Animal controller

This is the animal SQL controller. It performs some necessary and simple functions for the animal.

class library.controller.animal_controller.AnimalController

Bases: object

animal_exists(animal) bool

A method to test whether an animal exists :returns: boolean

get_animal(animal)

Method to get one specific animal object

Params animal:

string of the animal name

Returns:

an animal object