BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etsy-python
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
etsy-python
Commits
88360b4e
Commit
88360b4e
authored
Dec 26, 2010
by
Marc Abramowitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
One line hack to make the type checking not complain about the
"includes" parameter for associations, since this parameter isn't listed in the method table.
parent
c334891d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
_core.py
etsy/_core.py
+2
-0
No files found.
etsy/_core.py
View file @
88360b4e
...
...
@@ -27,6 +27,8 @@ class TypeChecker(object):
def
__call__
(
self
,
method
,
**
kwargs
):
params
=
method
[
'params'
]
for
k
,
v
in
kwargs
.
items
():
if
k
==
'includes'
:
continue
if
k
not
in
params
:
raise
ValueError
(
'Unexpected argument:
%
s=
%
s'
%
(
k
,
v
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment