def get_classes(node):
    """get the class definitions inside node

    Args:
        node (ast.AST): node containing a `body` attribute.