commonpower.utils.helpers

Functions

get_adjusted_cost

guaranteed_path

rgetattr

Recursive version of getattr() capable of getting an attribute of a nested subobject.

rhasattr

Recursive version of hasattr() capable of checking an attribute of a nested subobject.

rsetattr

Recursive version of setattr() capable of setting an attribute of a nested subobject.

to_datetime

Converts the given arguments to datetime objects via pandas.