Skip to content
This repository has been archived by the owner on Jul 23, 2022. It is now read-only.

Commit

Permalink
Ignore deprecated warning from pyarrow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris La committed Mar 19, 2022
1 parent 147dfac commit c9fbaa3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.2
0.1.3
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package format="3">
<name>ude</name>
<author>Amazon Web Services</author>
<version>0.1.2</version>
<version>0.1.3</version>
<description>UDE: A reinforcement learning environment virtualization framework.</description>
<maintainer email="[email protected]">AWS DeepRacer</maintainer>
<license>Apache License 2.0</license>
Expand Down
8 changes: 5 additions & 3 deletions ude/serialization_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
"""A class to control custom classes serialization"""
import threading
from typing import Union

# https://ray-project.github.io/2017/10/15/fast-python-serialization-with-ray-and-arrow.html
import pyarrow
import warnings
with warnings.catch_warnings():
warnings.filterwarnings("ignore", category=DeprecationWarning)
# https://ray-project.github.io/2017/10/15/fast-python-serialization-with-ray-and-arrow.html
import pyarrow

from gym.spaces.space import Space
from gym.spaces.box import Box
Expand Down

0 comments on commit c9fbaa3

Please sign in to comment.