1
0
mirror of synced 2026-01-27 16:02:00 -05:00

Bulk update deprecated authenticators (#40549)

This commit is contained in:
Christo Grabowski
2024-06-26 15:20:23 -07:00
committed by GitHub
parent dc1e0ac01c
commit ffca542fc9
46 changed files with 58 additions and 54 deletions

View File

@@ -229,7 +229,7 @@ class CollectionContents(WebflowStream):
"""
collection_id = self.collection_id
schema_stream = CollectionSchema(authenticator=self.authenticator, collection_id=collection_id)
schema_stream = CollectionSchema(authenticator=self._session.auth, collection_id=collection_id)
schema_records = schema_stream.read_records(sync_mode="full_refresh")
# each record corresponds to a property in the json schema. So we loop over each of these properties