Skip to content

Commit 377b5bc

Browse files
fix models.py, models.md. move watchlists v1 client to its own file for easy removal once the deprecation period ends.
1 parent 81e1b92 commit 377b5bc

File tree

7 files changed

+693
-637
lines changed

7 files changed

+693
-637
lines changed

docs/sdk/models.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,23 +252,51 @@ Risk Profiles have been replaced by [Actors](#actors).
252252
::: incydr.models.WatchlistsPage
253253
:docstring:
254254

255+
### `WatchlistActor` model
256+
257+
::: incydr.models.WatchlistActor
258+
:docstring:
259+
255260
### `WatchlistUser` model
256261

262+
WatchlistUser is deprecated. Use WatchlistActor instead.
263+
257264
::: incydr.models.WatchlistUser
258265
:docstring:
259266

267+
### `WatchlistMembersListV2` model
268+
269+
::: incydr.models.WatchlistMembersListV2
270+
:docstring:
271+
260272
### `WatchlistMembersList` model
261273

274+
WatchlistMembersList is deprecated. Use WatchlistMembersListV2 instead.
275+
262276
::: incydr.models.WatchlistMembersList
263277
:docstring:
264278

279+
### `IncludedActorsList` model
280+
281+
::: incydr.models.IncludedActorsList
282+
:docstring:
283+
284+
### `ExcludedActorsList` model
285+
286+
::: incydr.models.ExcludedActorsList
287+
:docstring:
288+
265289
### `IncludedUsersList` model
266290

291+
IncludedUsersList is deprecated. Use IncludedActorsList instead.
292+
267293
::: incydr.models.IncludedUsersList
268294
:docstring:
269295

270296
### `ExcludedUsersList` model
271297

298+
ExcludedUsersList is deprecated. Use ExcludedActorsList instead.
299+
272300
::: incydr.models.ExcludedUsersList
273301
:docstring:
274302

src/_incydr_cli/cmds/watchlists.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ def _output_results(results, model, format_, columns=None):
788788
console.print(item.json(), highlight=False)
789789

790790

791-
# ---------- Deprecated 2025-03 ----------
791+
# Deprecated 2025-03. Will be removed 2026-03.
792792

793793

794794
@watchlists.command(cls=IncydrCommand)

0 commit comments

Comments
 (0)