

def create_revision_as_user(self, raw_diff, fields, username):
    "Return the id of a newly created revision based on specified args.\n\n        See phlcon_differential.MessageFields for some examples of valid input\n        for specified 'fields'.\n\n        :raw_diff: raw output string from e.g. 'git diff master...'\n        :fields: dict of string attributes, required: 'title' and 'testPlan'\n        :username: username for the author of the revision\n        :returns: id of created revision\n\n        "
    assert raw_diff
    assert fields
    return self.create_empty_revision_as_user(username)

dataset/ETHPy150Open bloomberg/phabricator-tools/py/abd/abdt_conduitmock.py ConduitMock.create_revision_as_user/original