We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f70d7b commit b7cfdcbCopy full SHA for b7cfdcb
censys/asm/inventory.py
@@ -33,19 +33,18 @@ def search(
33
dict: Inventory search results.
34
"""
35
if workspaces is None:
36
- w: List[str] = [self.get_workspace_id()]
+ workspaces = [self.get_workspace_id()]
37
else:
38
warnings.warn(
39
"The field 'workspaces' is being deprecated. The workspace associated with `CENSYS-API-KEY` will be used automatically.",
40
category=DeprecationWarning,
41
stacklevel=2,
42
)
43
- w = workspaces
44
if page_size is None:
45
page_size = 50
46
47
args = {
48
- "workspaces": w,
+ "workspaces": workspaces,
49
"pageSize": page_size,
50
}
51
0 commit comments