wordlift-sdk 2.7.4__py3-none-any.whl → 2.7.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ query entities_url_iri_with_source_equal_to_web_page_import($urls: [String]!) {
2
2
  entities(
3
3
  query: {
4
4
  urlConstraint: { in: $urls }
5
- typeConstraint: { in: [ "web-page-import" ] }
5
+ sourceConstraint: { in: [ "web-page-import" ] }
6
6
  }
7
7
  ) {
8
8
  iri
@@ -42,6 +42,9 @@ class NewOrChangedUrlSource(UrlSource):
42
42
  how="left",
43
43
  suffixes=("", "_graphql"),
44
44
  )
45
+ merged_df["date_modified"] = pd.to_datetime(
46
+ merged_df["date_modified"], utc=True, errors="coerce"
47
+ )
45
48
  filtered_df = merged_df[
46
49
  self.overwrite
47
50
  | merged_df["date_imported"].isna()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wordlift-sdk
3
- Version: 2.7.4
3
+ Version: 2.7.6
4
4
  Summary:
5
5
  Author: David Riccitelli
6
6
  Author-email: david@wordlift.io
@@ -10,7 +10,7 @@ Classifier: Programming Language :: Python :: 3.10
10
10
  Classifier: Programming Language :: Python :: 3.11
11
11
  Classifier: Programming Language :: Python :: 3.12
12
12
  Classifier: Programming Language :: Python :: 3.13
13
- Requires-Dist: advertools (>=0.16.6,<0.17.0)
13
+ Requires-Dist: advertools (>0.16.6,<1.0.0)
14
14
  Requires-Dist: aiohttp (>=3.10.5,<4.0.0)
15
15
  Requires-Dist: google-auth (>=2.35.0,<3.0.0)
16
16
  Requires-Dist: gql[aiohttp] (>=3.5.2,<4.0.0)
@@ -21,7 +21,7 @@ Requires-Dist: python-liquid (>=2.0.1,<3.0.0)
21
21
  Requires-Dist: rdflib (>=7.0.0,<8.0.0)
22
22
  Requires-Dist: tenacity (>=9.0.0,<10.0.0)
23
23
  Requires-Dist: tqdm (>=4.67.1,<5.0.0)
24
- Requires-Dist: wordlift-client (>=1.117.0,<2.0.0)
24
+ Requires-Dist: wordlift-client (>=1.133.0,<2.0.0)
25
25
  Description-Content-Type: text/markdown
26
26
 
27
27
  # WordLift Python SDK
@@ -27,7 +27,7 @@ wordlift_sdk/graphql/data/entities_embedding_value.graphql,sha256=K_abFr_MKpPt2S
27
27
  wordlift_sdk/graphql/data/entities_top_query.graphql,sha256=PboyUgRGtdPzQafaxqLZCK3SyhGIQjnrN15fd6Ymrwg,713
28
28
  wordlift_sdk/graphql/data/entities_url_id.graphql,sha256=1Vzk0gWqcsA6FuzLmjSqm5EaKf8QqBMTd3ZiYMs_H0c,162
29
29
  wordlift_sdk/graphql/data/entities_url_iri.graphql,sha256=rtwnV-rycoKXgYdR5kJrkr0DCnr6jVIfiIPrCEVdDfI,220
30
- wordlift_sdk/graphql/data/entities_url_iri_with_source_equal_to_web_page_import.graphql,sha256=f7DRiFSmqIG0aaqcT2_8YVVTvYax1ITrUsjRtHrJwGE,349
30
+ wordlift_sdk/graphql/data/entities_url_iri_with_source_equal_to_web_page_import.graphql,sha256=4FqEIRsUQV4qX34TFxWr6LavKI1eqvMaMnWQRvUn6wg,351
31
31
  wordlift_sdk/graphql/query.py,sha256=uu-2_yxmizNPsFWDZRw9wTyLzbcCc0YCwZPrAuPVEP4,729
32
32
  wordlift_sdk/graphql/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
33
  wordlift_sdk/graphql/utils/query/__init__.py,sha256=ZYHHfPT6r3AknTqx-OOuoJfj54WeibpvnHTKLIN-vbs,173
@@ -61,7 +61,7 @@ wordlift_sdk/protocol/web_page_import_protocol.py,sha256=P5WU06fcUFvXO7Z2roU6A06
61
61
  wordlift_sdk/url_source/__init__.py,sha256=RmHbF2tY6yCYXeJYq4SnqUVU3R0I5yuRAFWqIWWNIBY,285
62
62
  wordlift_sdk/url_source/google_sheets_url_source.py,sha256=tfBrPztpNi_J-i-akM6AFRiKyUw3SJHgloq759nIsVw,2020
63
63
  wordlift_sdk/url_source/list_url_source.py,sha256=uhWFI_zF_id80JiEv_JbqC7HphkiXPDh0WgBNCid-v0,808
64
- wordlift_sdk/url_source/new_or_changed_url_source.py,sha256=KY4BClYkXiKwYWO5O33IYsJfwqr36zEA420OljqIhTo,2000
64
+ wordlift_sdk/url_source/new_or_changed_url_source.py,sha256=81ZEitfxxMof5-fcKuvTiEP3TFysNvFjka5qeO6MHh0,2129
65
65
  wordlift_sdk/url_source/sitemap_url_source.py,sha256=JMIteakIFIWcHoQ3Uf0fyMh8pYz4YM_rnJvdm7NXYak,1198
66
66
  wordlift_sdk/url_source/url_source.py,sha256=ZmGOiDlPVzoOTt2Qz69onpnFzQYZlrwWaogOkZMEqGc,403
67
67
  wordlift_sdk/url_source/url_source_input.py,sha256=GvRAjBb103DS--rR7M8oIxIjWhQbYUTldwbPx2BctaU,152
@@ -95,6 +95,6 @@ wordlift_sdk/workflow/url_handler/default_url_handler.py,sha256=irMoJftx9Gyq-8HQ
95
95
  wordlift_sdk/workflow/url_handler/search_console_url_handler.py,sha256=uOwD4t009-cA9JI7ZtbYhCGRwjhLzDpBNTWHERPnNqI,2698
96
96
  wordlift_sdk/workflow/url_handler/url_handler.py,sha256=meyOpWVhLk2NcbtUOO_V0z6_T9q-D3pD7kWQCRioYh0,129
97
97
  wordlift_sdk/workflow/url_handler/web_page_import_url_handler.py,sha256=xQiy-fgFj_dWKFFBNWeodAGhIMJQereSPdgnjK-Crmo,3529
98
- wordlift_sdk-2.7.4.dist-info/METADATA,sha256=gCKnoIMSqBVW2EPNvnEcj0tJll-4WapooLIjBi0MZJc,4979
99
- wordlift_sdk-2.7.4.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
100
- wordlift_sdk-2.7.4.dist-info/RECORD,,
98
+ wordlift_sdk-2.7.6.dist-info/METADATA,sha256=GtUczWgOG4_IP8PN5NisKsEh4YPnxYS_iNcU9ekXCio,4977
99
+ wordlift_sdk-2.7.6.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
100
+ wordlift_sdk-2.7.6.dist-info/RECORD,,