-
-
Save anonymous/351ac5ec3c5fa60469e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [1]: def post(queue, project, messages, client_uuid): | |
...: return (queue, project, messages, client_uuid) | |
...: | |
In [2]: post(1,2,3,4) | |
Out[2]: (1, 2, 3, 4) | |
In [3]: post(1,2,project='cats',client_uuid='dogs') | |
--------------------------------------------------------------------------- | |
TypeError Traceback (most recent call last) | |
<ipython-input-3-738b8b04f122> in <module>() | |
----> 1 post(1,2,project='cats',client_uuid='dogs') | |
TypeError: post() got multiple values for keyword argument 'project' | |
In [4]: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment