def update_group(group: Group) -> bool: """Updates the information for a group. Args: group: An object with the information for a group. Returns: Returns true if the database transaction succeeded, otherwise returns false. """ return update_instance(group)
def update_user(user: User) -> bool: """Updates an user's information in the database. Args: user: An object containing an user's information. Returns: Returns true if the database transaction succeeded, otherwise returns false. """ return update_instance(user)
def update_employee(employee: Employee) -> bool: """Updates an employee's information in the database. Args: employee: An object containing an employee's information. Returns: Returns true if the database transaction succeeded, otherwise returns false. """ return update_instance(employee)
def update_role(role: Role) -> bool: """Updates the information for a role. Args: role: An object with the information for a role. Returns: Returns true if the database transaction succeeded, otherwise returns false. """ return update_instance(role)
def update_app(app: App) -> bool: """Updates the values of an app in the database. Args: app: An object used to store information on external applications. Returns: Returns true if the database transaction succeeded, otherwise returns false. """ return update_instance(app)