def expandDirection(direction):
    return objects.DIRECTION_ALIASES.get(direction, direction)
Expand direction aliases into the names of the directions they refer to.
dataset/ETHPy150Open twisted/imaginary/imaginary/action.py/expandDirection