# Copyright 2020 The Magenta Authors.
#
# 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.

r"""Pulls in all magenta libraries that are in the public API.

To regenerate this list based on the py_library dependencies of //magenta:
bazel query 'kind(py_library, deps(//magenta))' | \
  grep '//magenta' | \
  egrep  -v "/([^:/]+):\1$" | \
  sed -e 's/\/\//import /' -e 's/\//./' -e 's/:/./' -e  's/py_pb2/pb2/' | \
  LANG=C sort
"""
# TODO(adarob): Remove these imports once moved to /py internally.

import magenta.common.beam_search
import magenta.common.concurrency
import magenta.common.nade
import magenta.common.sequence_example_lib
import magenta.common.state_util
import magenta.common.testing_lib
import magenta.common.tf_utils
import magenta.pipelines.dag_pipeline
import magenta.pipelines.drum_pipelines
import magenta.pipelines.lead_sheet_pipelines
import magenta.pipelines.melody_pipelines
import magenta.pipelines.note_sequence_pipelines
import magenta.pipelines.pipeline
import magenta.pipelines.pipelines_common
import magenta.pipelines.statistics
import magenta.version
from magenta.version import __version__

@@ -644,352 +644,12 @@
 API.
-%0A%0ATo regenerate this list based on the py_library dependencies of //magenta:%0Abazel query 'kind(py_library, deps(//magenta))' %7C %5C%0A  grep '//magenta' %7C %5C%0A  egrep  -v %22/(%5B%5E:/%5D+):%5C1$%22 %7C %5C%0A  sed -e 's/%5C/%5C//import /' -e 's/%5C//./' -e 's/:/./' -e  's/py_pb2/pb2/' %7C %5C%0A  LANG=C sort%0A%22%22%22%0A# TODO(adarob): Remove these imports once moved to /py internally.
+.%22%22%22
 %0A%0Aim

Remove irrelevant comments