apify 2.6.1b1__py3-none-any.whl → 2.6.1b2__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
@@ -812,6 +812,7 @@ class _ActorType:
812
812
  timeout: timedelta | None | Literal['RemainingTime'] = None,
813
813
  webhooks: list[Webhook] | None = None,
814
814
  wait: timedelta | None = None,
815
+ logger: logging.Logger | None | Literal['default'] = 'default',
815
816
  ) -> ActorRun | None:
816
817
  """Start an Actor on the Apify Platform and wait for it to finish before returning.
817
818
 
@@ -834,6 +835,9 @@ class _ActorType:
834
835
  a webhook set up for the Actor, you do not have to add it again here.
835
836
  wait: The maximum number of seconds the server waits for the run to finish. If not provided,
836
837
  waits indefinitely.
838
+ logger: Logger used to redirect logs from the Actor run. Using "default" literal means that a predefined
839
+ default logger will be used. Setting `None` will disable any log propagation. Passing custom logger
840
+ will redirect logs to the provided logger.
837
841
 
838
842
  Returns:
839
843
  Info about the started Actor run.
@@ -866,6 +870,7 @@ class _ActorType:
866
870
  timeout_secs=int(actor_call_timeout.total_seconds()) if actor_call_timeout is not None else None,
867
871
  webhooks=serialized_webhooks,
868
872
  wait_secs=int(wait.total_seconds()) if wait is not None else None,
873
+ logger=logger,
869
874
  )
870
875
 
871
876
  return ActorRun.model_validate(api_result)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apify
3
- Version: 2.6.1b1
3
+ Version: 2.6.1b2
4
4
  Summary: Apify SDK for Python
5
5
  Project-URL: Homepage, https://docs.apify.com/sdk/python/
6
6
  Project-URL: Apify homepage, https://apify.com
@@ -223,7 +223,7 @@ Classifier: Programming Language :: Python :: 3.12
223
223
  Classifier: Programming Language :: Python :: 3.13
224
224
  Classifier: Topic :: Software Development :: Libraries
225
225
  Requires-Python: >=3.9
226
- Requires-Dist: apify-client>=1.9.2
226
+ Requires-Dist: apify-client>=1.11.0
227
227
  Requires-Dist: apify-shared>=1.3.0
228
228
  Requires-Dist: crawlee~=0.6.0
229
229
  Requires-Dist: cryptography>=42.0.0
@@ -1,5 +1,5 @@
1
1
  apify/__init__.py,sha256=HpgKg2FZWJuSPfDygzJ62psylhw4NN4tKFnoYUIhcd4,838
2
- apify/_actor.py,sha256=u9J6ryODLC9h6NfrHfI8xuycVb2QLCuk56fhSCinUjg,51483
2
+ apify/_actor.py,sha256=upAtTASPqzzBNkypqir750IrbwhP0_JZl-SsMXvc94k,51874
3
3
  apify/_charging.py,sha256=m7hJIQde4M7vS4g_4hsNRP5xHNXjYQ8MyqOEGeNb7VY,12267
4
4
  apify/_configuration.py,sha256=AVztnlaBkHxBs0VkLIUhFHWwvlgHY-koMNUc0aqw9ZI,11908
5
5
  apify/_consts.py,sha256=_Xq4hOfOA1iZ3n1P967YWdyncKivpbX6RTlp_qanUoE,330
@@ -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.1b1.dist-info/METADATA,sha256=ai0I7k1Oj7PLwY983sdhhMh30kRDMs16Zhe9rOH8cyU,21557
42
- apify-2.6.1b1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
43
- apify-2.6.1b1.dist-info/licenses/LICENSE,sha256=AsFjHssKjj4LGd2ZCqXn6FBzMqcWdjQre1byPPSypVw,11355
44
- apify-2.6.1b1.dist-info/RECORD,,
41
+ apify-2.6.1b2.dist-info/METADATA,sha256=93ge5_U_r3_2P9k9vYyMU0r7qRRkYECC7TD_e77SjW8,21558
42
+ apify-2.6.1b2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
43
+ apify-2.6.1b2.dist-info/licenses/LICENSE,sha256=AsFjHssKjj4LGd2ZCqXn6FBzMqcWdjQre1byPPSypVw,11355
44
+ apify-2.6.1b2.dist-info/RECORD,,