@classmethod
    def _issue_from_args(cls, *args, **kwargs):
    
        kwargs = utils.args_to_kwargs(args, kwargs)

        if not kwargs.get("args") or len(kwargs.get("args")) == 0:
            kwargs["number"] = "new"
        else:
            kwargs["number"] = kwargs.get("args")[0]
            del kwargs["args"]
        
        key = "%s/%s" % (kwargs.get("repo"), kwargs.get("number"))
        if not i_hash.has_key(key):
            i_hash[key] = cls(**kwargs)
        return i_hash.get(key)
dataset/ETHPy150Open jonmorehouse/vimhub/lib/issue.py/Issue._issue_from_args/original