# Copyright 2019 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""Reverb."""

# pylint: disable=g-import-not-at-top
# pylint: disable=g-bad-import-order
from reverb.platform.default import ensure_tf_install

ensure_tf_install.ensure_tf_version()

# Cleanup symbols to avoid polluting namespace.
del ensure_tf_install
# pylint: enable=g-bad-import-order

from reverb import distributions
from reverb import item_selectors as selectors
from reverb import rate_limiters

from reverb.client import Client
from reverb.client import Writer

from reverb.errors import ReverbError
from reverb.errors import TimeoutError

from reverb.replay_sample import ReplaySample
from reverb.replay_sample import SampleInfo

from reverb.server import PriorityTable
from reverb.server import Server

from reverb.tf_client import ReplayDataset
from reverb.tf_client import TFClient

# Copyright 2019 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""Reverb."""

# pylint: disable=g-import-not-at-top
# pylint: disable=g-bad-import-order
from reverb.platform.default import ensure_tf_install

ensure_tf_install.ensure_tf_version()

# Cleanup symbols to avoid polluting namespace.
del ensure_tf_install
# pylint: enable=g-bad-import-order

from reverb import distributions
from reverb import item_selectors as selectors
from reverb import rate_limiters

from reverb.client import Client
from reverb.client import Writer

from reverb.errors import ReverbError
# TODO(b/157210924): Rename TimeoutError.
from reverb.errors import TimeoutError  # pylint: disable=redefined-builtin

from reverb.replay_sample import ReplaySample
from reverb.replay_sample import SampleInfo

from reverb.server import PriorityTable
from reverb.server import Server
from reverb.server import Table

from reverb.tf_client import ReplayDataset
from reverb.tf_client import TFClient

Add Table to reverb/__init__.py.