Skip to content

Commit b7cfdcb

Browse files
grace-murphythehappydinoa
authored andcommitted
chore: cleanup
1 parent 2f70d7b commit b7cfdcb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

censys/asm/inventory.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,18 @@ def search(
3333
dict: Inventory search results.
3434
"""
3535
if workspaces is None:
36-
w: List[str] = [self.get_workspace_id()]
36+
workspaces = [self.get_workspace_id()]
3737
else:
3838
warnings.warn(
3939
"The field 'workspaces' is being deprecated. The workspace associated with `CENSYS-API-KEY` will be used automatically.",
4040
category=DeprecationWarning,
4141
stacklevel=2,
4242
)
43-
w = workspaces
4443
if page_size is None:
4544
page_size = 50
4645

4746
args = {
48-
"workspaces": w,
47+
"workspaces": workspaces,
4948
"pageSize": page_size,
5049
}
5150

0 commit comments

Comments
 (0)