Skip to content

Commit

Permalink
DO NOT MERGE: test cloudpickle default
Browse files Browse the repository at this point in the history
  • Loading branch information
Claude committed Oct 16, 2024
1 parent 7311270 commit e326590
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sdks/python/apache_beam/internal/pickler.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@

USE_CLOUDPICKLE = 'cloudpickle'
USE_DILL = 'dill'
DEFAULT_PICKLE_LIB = USE_DILL
DEFAULT_PICKLE_LIB = USE_CLOUDPICKLE

desired_pickle_lib = dill_pickler
desired_pickle_lib = cloudpickle_pickler
dill_pickler.override_pickler_hooks(False)


def dumps(o, enable_trace=True, use_zlib=False) -> bytes:
Expand Down

0 comments on commit e326590

Please sign in to comment.