def tag(accessing_obj, accessed_obj, *args, **kwargs):
    if hasattr(accessing_obj, "obj"):
        accessing_obj = accessing_obj.obj
    tagkey = args[0] if args else None
    category = args[1] if len(args) > 1 else None
    return accessing_obj.tags.get(tagkey, category=category)
Provide a default host, since the superclass requires one.
dataset/ETHPy150Open evennia/evennia/evennia/locks/lockfuncs.py/tag--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/dist/httplib.py/HTTP.__init__