Skip to content

Commit a171cd6

Browse files
docs: drop references to "archive" from docstrings
1 parent 72c27a4 commit a171cd6

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

datamasque/client/discovery_configs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def iter_discovery_configs(self) -> Iterator[DiscoveryConfig]:
1919

2020
def list_discovery_configs(self) -> list[DiscoveryConfig]:
2121
"""
22-
Lists all (non-archived) discovery configs.
22+
Lists all discovery configs.
2323
2424
Note: the YAML content is not included in the list response for performance.
2525
Use `get_discovery_config` to retrieve the full config with its YAML body.
@@ -114,7 +114,7 @@ def create_or_update_discovery_config(self, config: DiscoveryConfig) -> Discover
114114

115115
def delete_discovery_config_by_id_if_exists(self, config_id: DiscoveryConfigId) -> None:
116116
"""
117-
Archives the discovery config with the given ID.
117+
Deletes the discovery config with the given ID.
118118
119119
No-op if the config does not exist.
120120
"""
@@ -123,7 +123,7 @@ def delete_discovery_config_by_id_if_exists(self, config_id: DiscoveryConfigId)
123123

124124
def delete_discovery_config_by_name_if_exists(self, name: str, config_type: DiscoveryConfigType) -> None:
125125
"""
126-
Archives the discovery config with the given name and type.
126+
Deletes the discovery config with the given name and type.
127127
128128
Config names are unique per type, so a type is required to identify a single config.
129129
No-op if no such config exists.

datamasque/client/ruleset_libraries.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def create_or_update_ruleset_library(self, library: RulesetLibrary) -> RulesetLi
115115

116116
def delete_ruleset_library_by_id_if_exists(self, library_id: RulesetLibraryId, *, force: bool = False) -> None:
117117
"""
118-
Deletes (archives) the ruleset library with the given ID.
118+
Deletes the ruleset library with the given ID.
119119
120120
No-op if the library does not exist.
121121
@@ -144,13 +144,13 @@ def delete_ruleset_library_by_name_if_exists(
144144
self.delete_ruleset_library_by_id_if_exists(lib.id, force=force)
145145

146146
def iter_rulesets_using_library(self, library_id: RulesetLibraryId) -> Iterator[Ruleset]:
147-
"""Lazily iterate non-archived rulesets that import the given library."""
147+
"""Lazily iterate rulesets that import the given library."""
148148

149149
return self._iter_paginated(f"/api/ruleset-libraries/{library_id}/rulesets/", model=Ruleset)
150150

151151
def list_rulesets_using_library(self, library_id: RulesetLibraryId) -> list[Ruleset]:
152152
"""
153-
Lists non-archived rulesets that import the given library.
153+
Lists rulesets that import the given library.
154154
155155
Note: The YAML content is not included in the response for performance.
156156
Each returned Ruleset will have an empty string for `yaml`.

0 commit comments

Comments
 (0)