apify 2.6.1b4__py3-none-any.whl → 2.6.1b6__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.

Potentially problematic release.


This version of apify might be problematic. Click here for more details.

apify/_actor.py CHANGED
@@ -1187,7 +1187,7 @@ class _ActorType:
1187
1187
 
1188
1188
  # Check if running in Scrapy by attempting to import it.
1189
1189
  with suppress(ImportError):
1190
- import scrapy # noqa: F401
1190
+ import scrapy # noqa: F401 PLC0415
1191
1191
 
1192
1192
  self.log.debug('Running in Scrapy, setting default `exit_process` to False.')
1193
1193
  return False
apify/_charging.py CHANGED
@@ -216,9 +216,7 @@ class ChargingManagerImplementation(ChargingManager):
216
216
  PricingInfoItem(
217
217
  price=Decimal()
218
218
  if self._is_at_home
219
- else Decimal(
220
- '1'
221
- ), # Use a nonzero price for local development so that the maximum budget can be reached,
219
+ else Decimal(1), # Use a nonzero price for local development so that the maximum budget can be reached,
222
220
  title=f"Unknown event '{event_name}'",
223
221
  ),
224
222
  )
@@ -282,7 +280,7 @@ class ChargingManagerImplementation(ChargingManager):
282
280
  if pricing_info is not None:
283
281
  price = pricing_info.price
284
282
  elif not self._is_at_home:
285
- price = Decimal('1') # Use a nonzero price for local development so that the maximum budget can be reached
283
+ price = Decimal(1) # Use a nonzero price for local development so that the maximum budget can be reached
286
284
  else:
287
285
  price = Decimal()
288
286
 
@@ -1,13 +1,15 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apify
3
- Version: 2.6.1b4
3
+ Version: 2.6.1b6
4
4
  Summary: Apify SDK for Python
5
- Project-URL: Homepage, https://docs.apify.com/sdk/python/
6
- Project-URL: Apify homepage, https://apify.com
5
+ Project-URL: Apify Homepage, https://apify.com
7
6
  Project-URL: Changelog, https://docs.apify.com/sdk/python/docs/changelog
8
- Project-URL: Documentation, https://docs.apify.com/sdk/python/
9
- Project-URL: Issue tracker, https://github.com/apify/apify-sdk-python/issues
10
- Project-URL: Repository, https://github.com/apify/apify-sdk-python
7
+ Project-URL: Discord, https://discord.com/invite/jyEM2PRvMU
8
+ Project-URL: Documentation, https://docs.apify.com/sdk/python/docs/overview/introduction
9
+ Project-URL: Homepage, https://docs.apify.com/sdk/python/
10
+ Project-URL: Issue Tracker, https://github.com/apify/apify-sdk-python/issues
11
+ Project-URL: Release Notes, https://docs.apify.com/sdk/python/docs/upgrading/upgrading-to-v2
12
+ Project-URL: Source Code, https://github.com/apify/apify-sdk-python
11
13
  Author-email: "Apify Technologies s.r.o." <support@apify.com>
12
14
  License: Apache License
13
15
  Version 2.0, January 2004
@@ -213,6 +215,7 @@ License: Apache License
213
215
  License-File: LICENSE
214
216
  Keywords: apify,automation,chrome,crawlee,crawler,headless,scraper,scraping,sdk
215
217
  Classifier: Development Status :: 5 - Production/Stable
218
+ Classifier: Environment :: Console
216
219
  Classifier: Intended Audience :: Developers
217
220
  Classifier: License :: OSI Approved :: Apache Software License
218
221
  Classifier: Operating System :: OS Independent
@@ -1,6 +1,6 @@
1
1
  apify/__init__.py,sha256=HpgKg2FZWJuSPfDygzJ62psylhw4NN4tKFnoYUIhcd4,838
2
- apify/_actor.py,sha256=upAtTASPqzzBNkypqir750IrbwhP0_JZl-SsMXvc94k,51874
3
- apify/_charging.py,sha256=m7hJIQde4M7vS4g_4hsNRP5xHNXjYQ8MyqOEGeNb7VY,12267
2
+ apify/_actor.py,sha256=nEuSeGjBIV_IkdFGCVxGKItzVasM2BzyVP2SYvzavvI,51882
3
+ apify/_charging.py,sha256=fFCwg2NL6qtGvnyddp8a-eyhsiaO8-vPEGQMXZ-ZUcU,12225
4
4
  apify/_configuration.py,sha256=AVztnlaBkHxBs0VkLIUhFHWwvlgHY-koMNUc0aqw9ZI,11908
5
5
  apify/_consts.py,sha256=_Xq4hOfOA1iZ3n1P967YWdyncKivpbX6RTlp_qanUoE,330
6
6
  apify/_crypto.py,sha256=8BgeQC0ZhYP5KdmLxxLQAW87Gq-Z4HlREbYGXr46w0U,6607
@@ -38,7 +38,7 @@ apify/scrapy/pipelines/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
38
38
  apify/storages/__init__.py,sha256=FW-z6ubuPnHGM-Wp15T8mR5q6lnpDGrCW-IkgZd5L30,177
39
39
  apify/storages/_request_list.py,sha256=FCC4X2MX2V8vLZBCUi5Q1qg9w62y9UkF4ptOqyPVhG8,6052
40
40
  apify/storages/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
- apify-2.6.1b4.dist-info/METADATA,sha256=N6rWc1pDsPuOlQHcm84sWij7Ck2lSD17DL95redDLyI,21558
42
- apify-2.6.1b4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
43
- apify-2.6.1b4.dist-info/licenses/LICENSE,sha256=AsFjHssKjj4LGd2ZCqXn6FBzMqcWdjQre1byPPSypVw,11355
44
- apify-2.6.1b4.dist-info/RECORD,,
41
+ apify-2.6.1b6.dist-info/METADATA,sha256=WTQgf_rNCsyhYdUpBHC2GStAf_W67-UZT3YtGBHkh_4,21773
42
+ apify-2.6.1b6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
43
+ apify-2.6.1b6.dist-info/licenses/LICENSE,sha256=AsFjHssKjj4LGd2ZCqXn6FBzMqcWdjQre1byPPSypVw,11355
44
+ apify-2.6.1b6.dist-info/RECORD,,