We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d42271 commit d7e9024Copy full SHA for d7e9024
src/azul/azulclient.py
@@ -128,6 +128,8 @@ def mirror_source_message(self,
128
)
129
130
def local_reindex(self, catalog: CatalogName, prefix: str) -> int:
131
+ if not config.enable_bundle_notifications:
132
+ raise AzulClientError('Bundle notifications are disabled')
133
service = self.index_repository_service
134
notifications: JSONs = [
135
# Notifications sent organically by DSS had a different structure,
@@ -148,6 +150,8 @@ def index(self,
148
150
notifications: Iterable[JSON],
149
151
delete: bool = False
152
):
153
154
155
errors = defaultdict[int, int](int)
156
missing = []
157
indexed = 0
0 commit comments