__init__.py 1.1 KB

1234567891011121314151617181920212223242526272829
  1. # Copyright 2020 Josh Wills. All rights reserved.
  2. # Copyright Materialize, Inc. and contributors. All rights reserved.
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License in the LICENSE file at the
  7. # root of this repository, or online at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing, software
  12. # distributed under the License is distributed on an "AS IS" BASIS,
  13. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. # See the License for the specific language governing permissions and
  15. # limitations under the License.
  16. from dbt.adapters.base import AdapterPlugin
  17. from dbt.adapters.materialize.connections import (
  18. MaterializeCredentials,
  19. )
  20. from dbt.adapters.materialize.impl import MaterializeAdapter
  21. from dbt.include import materialize
  22. Plugin = AdapterPlugin(
  23. adapter=MaterializeAdapter,
  24. credentials=MaterializeCredentials,
  25. include_path=materialize.PACKAGE_PATH,
  26. dependencies=["postgres"],
  27. )