Skip to content

Commit

Permalink
added groups stream
Browse files Browse the repository at this point in the history
  • Loading branch information
robby-rob-slalom committed Nov 28, 2023
1 parent 082aaf0 commit 39b63f7
Showing 1 changed file with 12 additions and 21 deletions.
33 changes: 12 additions & 21 deletions tap_lucid_scim/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,20 @@


class UsersStream(LucidScimStream):
"""Define custom stream."""
"""Users stream."""

name = "users"
path = "/Users"
primary_keys: t.ClassVar[list[str]] = ["id"]
replication_key = None
schema_filepath = SCHEMAS_DIR / "users.json" # noqa: ERA001


# class GroupsStream(LucidScimStream):
# """Define custom stream."""
#
# name = "groups"
# path = "/Groups"
# primary_keys: t.ClassVar[list[str]] = ["id"]
# replication_key = None
# schema_filepath = SCHEMAS_DIR / "groups.json" # noqa: ERA001

# class GroupsStream(LucidScimSchemas):
# """Define custom stream."""
#
# name = "schemas"
# path = "/Schemas"
# primary_keys: t.ClassVar[list[str]] = ["id"]
# replication_key = None
# schema_filepath = SCHEMAS_DIR / "groups.json" # noqa: ERA001
schema_filepath = SCHEMAS_DIR.joinpath("users.json")


class GroupsStream(LucidScimStream):
"""Groups stream."""

name = "groups"
path = "/Groups"
primary_keys: t.ClassVar[list[str]] = ["id"]
replication_key = None
schema_filepath = SCHEMAS_DIR.joinpath("groups.json")

0 comments on commit 39b63f7

Please sign in to comment.