Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@
History
=======

1.2.1 (unreleased)
------------------

* Added ruleset-generation config management APIs
(``list_rg_configs``, ``create_rg_config``, ``get_default_rg_config_yaml``, and friends).
* Added ruleset-generation methods that take a required ``rg_config``
(``generate_ruleset_with_rg_config``, ``generate_file_ruleset_with_rg_config``,
``start_async_ruleset_generation_with_rg_config``,
``start_async_ruleset_generation_from_csv_with_rg_config``).
The existing generate methods are unchanged
and continue to apply the server's default RG config.
* Added ``RGConfigNotFoundError``,
raised by the ``*_with_rg_config`` methods when the selected RG config does not exist on the server.

1.2.0 (2026-07-27)
------------------

Expand Down
9 changes: 9 additions & 0 deletions datamasque/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
InvalidDiscoveryConfigError,
InvalidLibraryError,
InvalidRulesetError,
RGConfigNotFoundError,
RunNotCancellableError,
)
from datamasque.client.ifm import DataMasqueIfmClient
Expand Down Expand Up @@ -67,11 +68,13 @@
FileFilter,
FileFilterMatchAgainst,
FileRulesetGenerationRequest,
FileRulesetGenerationWithRGConfigRequest,
ForeignKeyRef,
InDataDiscoveryConfig,
InDataDiscoveryRule,
ReferencingForeignKey,
RulesetGenerationRequest,
RulesetGenerationWithRGConfigRequest,
SchemaDiscoveryColumn,
SchemaDiscoveryFromConfigRequest,
SchemaDiscoveryPage,
Expand Down Expand Up @@ -105,6 +108,7 @@
RulesetPlanUpdateRequest,
)
from datamasque.client.models.license import LicenseInfo, SwitchableLicenseMetadata
from datamasque.client.models.rg_config import RGConfig, RGConfigId
from datamasque.client.models.ruleset import Ruleset, RulesetId, RulesetType
from datamasque.client.models.ruleset_library import RulesetLibrary, RulesetLibraryId
from datamasque.client.models.runs import (
Expand Down Expand Up @@ -214,6 +218,7 @@
"FileId",
"FileOrContent",
"FileRulesetGenerationRequest",
"FileRulesetGenerationWithRGConfigRequest",
"FirstCharsStatistics",
"ForeignKeyRef",
"GitSnapshot",
Expand Down Expand Up @@ -252,9 +257,13 @@
"PatternComposition",
"PatternEntry",
"PatternsStatistics",
"RGConfig",
"RGConfigId",
"RGConfigNotFoundError",
"ReferencingForeignKey",
"Ruleset",
"RulesetGenerationRequest",
"RulesetGenerationWithRGConfigRequest",
"RulesetId",
"RulesetLibrary",
"RulesetLibraryId",
Expand Down
Loading
Loading