<html><head><title></title></head><body><!-- rte-version 0.2 9947551637294008b77bce25eb683dac --><div class="rte-style-maintainer rte-pre-wrap" data-color="global-default" bbg-color="default" data-bb-font-size="medium"bbg-font-size="medium" style="white-space: pre-wrap; font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth";"style="white-space: pre-wrap; font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth"; color: rgb(0, 0, 0);">I have tried to follow the blog <a bbg-destination="rte:bind"data-destination="rte:bind" href="https://pulpproject.org/2018/09/04/generate-pulp-3-python-client-using-swagger-codegen/">https://pulpproject.org/2018/09/04/generate-pulp-3-python-client-using-swagger-codegen/</a> and got a syntax error.<div>  File "/opt/utils/venv/pulp/3.6.5/lib64/python3.6/site-packages/pulp3_client/models/update_record.py", line 79</div><div>    def __init__(self, href=None, created=None, type=None, id=None, updated_date=None, description=None, issued_date=None, fromstr=None, status=None, title=None, summary=None, version=None, type=None, severity=None, solution=None, release=None, rights=None, pushcount=None, pkglist=None, references=None):  # noqa: E501</div><div>    ^</div><div>SyntaxError: duplicate argument 'type' in function definition</div><div><br></div><div>Type is declared twice in the __init__. There is a duplicate key 'type' in attribute_map models/update_record.py.</div><div><br></div><div>    attribute_map = {</div><div>        'href': '_href',</div><div>        'created': '_created',</div><div>        'type': '_type',</div><div>        'id': 'id',</div><div>        'updated_date': 'updated_date',</div><div>        'description': 'description',</div><div>        'issued_date': 'issued_date',</div><div>        'fromstr': 'fromstr',</div><div>        'status': 'status',</div><div>        'title': 'title',</div><div>        'summary': 'summary',</div><div>        'version': 'version',</div><div>        'type': 'type',</div><div>        'severity': 'severity',</div><div>        'solution': 'solution',</div><div>        'release': 'release',</div><div>        'rights': 'rights',</div><div>        'pushcount': 'pushcount',</div><div>        'pkglist': 'pkglist',</div><div>        'references': 'references'</div><div>    }</div><div><br></div><div>Anyone knows how this can be fixed?</div><div><br></div><div>Thanks</div><div><br></div></div></body></html>