dbt-adapters 0.1.0a2__tar.gz → 0.1.0a4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of dbt-adapters might be problematic. Click here for more details.

Files changed (153) hide show
  1. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/PKG-INFO +7 -2
  2. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/README.md +5 -1
  3. dbt_adapters-0.1.0a4/dbt/adapters/__about__.py +1 -0
  4. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/base/connections.py +6 -6
  5. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/base/relation.py +2 -2
  6. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/contracts/connection.py +2 -2
  7. dbt_adapters-0.1.0a4/dbt/adapters/events/adapter_types_pb2.py +206 -0
  8. dbt_adapters-0.1.0a4/dbt/include/py.typed +0 -0
  9. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/pyproject.toml +43 -16
  10. dbt_adapters-0.1.0a2/dbt/adapters/__about__.py +0 -1
  11. dbt_adapters-0.1.0a2/dbt/adapters/events/adapter_types_pb2.py +0 -208
  12. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/.gitignore +0 -0
  13. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/LICENSE +0 -0
  14. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/__init__.py +0 -0
  15. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/__init__.py +0 -0
  16. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/base/README.md +0 -0
  17. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/base/__init__.py +0 -0
  18. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/base/column.py +0 -0
  19. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/base/impl.py +0 -0
  20. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/base/meta.py +0 -0
  21. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/base/plugin.py +0 -0
  22. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/base/query_headers.py +0 -0
  23. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/cache.py +0 -0
  24. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/capability.py +0 -0
  25. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/clients/__init__.py +0 -0
  26. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/clients/jinja.py +0 -0
  27. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/contracts/__init__.py +0 -0
  28. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/contracts/macros.py +0 -0
  29. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/contracts/relation.py +0 -0
  30. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/events/README.md +0 -0
  31. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/events/__init__.py +0 -0
  32. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/events/adapter_types.proto +0 -0
  33. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/events/base_types.py +0 -0
  34. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/events/logging.py +0 -0
  35. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/events/types.py +0 -0
  36. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/exceptions/__init__.py +0 -0
  37. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/exceptions/alias.py +0 -0
  38. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/exceptions/cache.py +0 -0
  39. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/exceptions/compilation.py +0 -0
  40. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/exceptions/connection.py +0 -0
  41. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/exceptions/database.py +0 -0
  42. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/factory.py +0 -0
  43. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/protocol.py +0 -0
  44. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/py.typed +0 -0
  45. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/reference_keys.py +0 -0
  46. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/relation_configs/README.md +0 -0
  47. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/relation_configs/__init__.py +0 -0
  48. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/relation_configs/config_base.py +0 -0
  49. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/relation_configs/config_change.py +0 -0
  50. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/relation_configs/config_validation.py +0 -0
  51. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/sql/__init__.py +0 -0
  52. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/sql/connections.py +0 -0
  53. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/sql/impl.py +0 -0
  54. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/adapters/utils.py +0 -0
  55. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/__init__.py +0 -0
  56. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/__init__.py +0 -0
  57. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/dbt_project.yml +0 -0
  58. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/docs/overview.md +0 -0
  59. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/adapters/apply_grants.sql +0 -0
  60. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/adapters/columns.sql +0 -0
  61. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/adapters/freshness.sql +0 -0
  62. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/adapters/indexes.sql +0 -0
  63. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/adapters/metadata.sql +0 -0
  64. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/adapters/persist_docs.sql +0 -0
  65. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/adapters/relation.sql +0 -0
  66. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/adapters/schema.sql +0 -0
  67. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/adapters/show.sql +0 -0
  68. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/adapters/timestamps.sql +0 -0
  69. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/adapters/validate_sql.sql +0 -0
  70. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/etc/datetime.sql +0 -0
  71. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/etc/statement.sql +0 -0
  72. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/generic_test_sql/accepted_values.sql +0 -0
  73. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/generic_test_sql/not_null.sql +0 -0
  74. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/generic_test_sql/relationships.sql +0 -0
  75. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/generic_test_sql/unique.sql +0 -0
  76. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/get_custom_name/get_custom_alias.sql +0 -0
  77. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/get_custom_name/get_custom_database.sql +0 -0
  78. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/get_custom_name/get_custom_schema.sql +0 -0
  79. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/configs.sql +0 -0
  80. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/hooks.sql +0 -0
  81. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/models/clone/can_clone_table.sql +0 -0
  82. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/models/clone/clone.sql +0 -0
  83. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/models/clone/create_or_replace_clone.sql +0 -0
  84. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/models/incremental/column_helpers.sql +0 -0
  85. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/models/incremental/incremental.sql +0 -0
  86. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/models/incremental/is_incremental.sql +0 -0
  87. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/models/incremental/merge.sql +0 -0
  88. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/models/incremental/on_schema_change.sql +0 -0
  89. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/models/incremental/strategies.sql +0 -0
  90. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/models/materialized_view.sql +0 -0
  91. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/models/table.sql +0 -0
  92. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/models/view.sql +0 -0
  93. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/seeds/helpers.sql +0 -0
  94. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/seeds/seed.sql +0 -0
  95. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/snapshots/helpers.sql +0 -0
  96. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/snapshots/snapshot.sql +0 -0
  97. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/snapshots/snapshot_merge.sql +0 -0
  98. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/snapshots/strategies.sql +0 -0
  99. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/tests/helpers.sql +0 -0
  100. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/tests/test.sql +0 -0
  101. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/materializations/tests/where_subquery.sql +0 -0
  102. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/python_model/python.sql +0 -0
  103. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/column/columns_spec_ddl.sql +0 -0
  104. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/create.sql +0 -0
  105. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/create_backup.sql +0 -0
  106. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/create_intermediate.sql +0 -0
  107. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/drop.sql +0 -0
  108. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/drop_backup.sql +0 -0
  109. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/materialized_view/alter.sql +0 -0
  110. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/materialized_view/create.sql +0 -0
  111. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/materialized_view/drop.sql +0 -0
  112. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/materialized_view/refresh.sql +0 -0
  113. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/materialized_view/rename.sql +0 -0
  114. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/materialized_view/replace.sql +0 -0
  115. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/rename.sql +0 -0
  116. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/rename_intermediate.sql +0 -0
  117. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/replace.sql +0 -0
  118. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/schema.sql +0 -0
  119. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/table/create.sql +0 -0
  120. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/table/drop.sql +0 -0
  121. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/table/rename.sql +0 -0
  122. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/table/replace.sql +0 -0
  123. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/view/create.sql +0 -0
  124. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/view/drop.sql +0 -0
  125. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/view/rename.sql +0 -0
  126. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/relations/view/replace.sql +0 -0
  127. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/any_value.sql +0 -0
  128. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/array_append.sql +0 -0
  129. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/array_concat.sql +0 -0
  130. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/array_construct.sql +0 -0
  131. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/bool_or.sql +0 -0
  132. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/cast_bool_to_text.sql +0 -0
  133. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/concat.sql +0 -0
  134. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/data_types.sql +0 -0
  135. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/date_spine.sql +0 -0
  136. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/date_trunc.sql +0 -0
  137. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/dateadd.sql +0 -0
  138. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/datediff.sql +0 -0
  139. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/escape_single_quotes.sql +0 -0
  140. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/except.sql +0 -0
  141. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/generate_series.sql +0 -0
  142. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/hash.sql +0 -0
  143. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/intersect.sql +0 -0
  144. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/last_day.sql +0 -0
  145. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/length.sql +0 -0
  146. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/listagg.sql +0 -0
  147. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/literal.sql +0 -0
  148. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/position.sql +0 -0
  149. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/replace.sql +0 -0
  150. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/right.sql +0 -0
  151. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/safe_cast.sql +0 -0
  152. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/macros/utils/split_part.sql +0 -0
  153. {dbt_adapters-0.1.0a2 → dbt_adapters-0.1.0a4}/dbt/include/global_project/tests/generic/builtin.sql +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dbt-adapters
3
- Version: 0.1.0a2
3
+ Version: 0.1.0a4
4
4
  Summary: The set of adapter protocols and base functionality that supports integration with dbt-core
5
5
  Project-URL: Homepage, https://github.com/dbt-labs/dbt-adapters
6
6
  Project-URL: Documentation, https://docs.getdbt.com
@@ -43,9 +43,14 @@ Provides-Extra: typecheck
43
43
  Requires-Dist: mypy; extra == 'typecheck'
44
44
  Requires-Dist: types-protobuf; extra == 'typecheck'
45
45
  Requires-Dist: types-pytz; extra == 'typecheck'
46
+ Requires-Dist: types-pyyaml; extra == 'typecheck'
46
47
  Description-Content-Type: text/markdown
47
48
 
48
- # Adapter
49
+ <p align="center">
50
+ <img src="https://raw.githubusercontent.com/dbt-labs/dbt/ec7dee39f793aa4f7dd3dae37282cc87664813e4/etc/dbt-logo-full.svg" alt="dbt logo" width="500"/>
51
+ </p>
52
+
53
+ # dbt-tests-adapter
49
54
 
50
55
  This package is responsible for:
51
56
 
@@ -1,4 +1,8 @@
1
- # Adapter
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/dbt-labs/dbt/ec7dee39f793aa4f7dd3dae37282cc87664813e4/etc/dbt-logo-full.svg" alt="dbt logo" width="500"/>
3
+ </p>
4
+
5
+ # dbt-tests-adapter
2
6
 
3
7
  This package is responsible for:
4
8
 
@@ -0,0 +1 @@
1
+ version = "0.1.0a4"
@@ -154,7 +154,7 @@ class BaseConnectionManager(metaclass=abc.ABCMeta):
154
154
  conn = Connection(
155
155
  type=Identifier(self.TYPE),
156
156
  name=conn_name,
157
- state=ConnectionState.INIT,
157
+ state=ConnectionState.INIT, # type: ignore
158
158
  transaction_open=False,
159
159
  handle=None,
160
160
  credentials=self.profile.credentials,
@@ -227,18 +227,18 @@ class BaseConnectionManager(metaclass=abc.ABCMeta):
227
227
  if retry_limit < 0 or retry_limit > sys.getrecursionlimit():
228
228
  # This guard is not perfect others may add to the recursion limit (e.g. built-ins).
229
229
  connection.handle = None
230
- connection.state = ConnectionState.FAIL
230
+ connection.state = ConnectionState.FAIL # type: ignore
231
231
  raise FailedToConnectError("retry_limit cannot be negative")
232
232
 
233
233
  try:
234
234
  connection.handle = connect()
235
- connection.state = ConnectionState.OPEN
235
+ connection.state = ConnectionState.OPEN # type: ignore
236
236
  return connection
237
237
 
238
238
  except tuple(retryable_exceptions) as e:
239
239
  if retry_limit <= 0:
240
240
  connection.handle = None
241
- connection.state = ConnectionState.FAIL
241
+ connection.state = ConnectionState.FAIL # type: ignore
242
242
  raise FailedToConnectError(str(e))
243
243
 
244
244
  logger.debug(
@@ -260,7 +260,7 @@ class BaseConnectionManager(metaclass=abc.ABCMeta):
260
260
 
261
261
  except Exception as e:
262
262
  connection.handle = None
263
- connection.state = ConnectionState.FAIL
263
+ connection.state = ConnectionState.FAIL # type: ignore
264
264
  raise FailedToConnectError(str(e))
265
265
 
266
266
  @abc.abstractmethod
@@ -374,7 +374,7 @@ class BaseConnectionManager(metaclass=abc.ABCMeta):
374
374
  connection.transaction_open = False
375
375
 
376
376
  cls._close_handle(connection)
377
- connection.state = ConnectionState.CLOSED
377
+ connection.state = ConnectionState.CLOSED # type: ignore
378
378
 
379
379
  return connection
380
380
 
@@ -193,7 +193,7 @@ class BaseRelation(FakeAPIObject, Hashable):
193
193
  def _render_iterator(
194
194
  self,
195
195
  ) -> Iterator[Tuple[Optional[ComponentName], Optional[str]]]:
196
- for key in ComponentName:
196
+ for key in ComponentName: # type: ignore
197
197
  path_part: Optional[str] = None
198
198
  if self.include_policy.get_part(key):
199
199
  path_part = self.path.get_part(key)
@@ -416,7 +416,7 @@ class InformationSchema(BaseRelation):
416
416
  quote_policy = cls.get_quote_policy(relation, information_schema_view)
417
417
  path = cls.get_path(relation, information_schema_view)
418
418
  return cls(
419
- type=RelationType.View,
419
+ type=RelationType.View, # type: ignore
420
420
  path=path,
421
421
  include_policy=include_policy,
422
422
  quote_policy=quote_policy,
@@ -58,7 +58,7 @@ class Connection(ExtensibleDbtClassMixin, Replaceable):
58
58
  # Annotated is used by mashumaro for jsonschema generation
59
59
  type: Annotated[Identifier, Pattern(r"^[A-Za-z_][A-Za-z0-9_]+$")]
60
60
  name: Optional[str] = None
61
- state: ConnectionState = ConnectionState.INIT
61
+ state: ConnectionState = ConnectionState.INIT # type: ignore
62
62
  transaction_open: bool = False
63
63
  _handle: Optional[Any] = None
64
64
  _credentials: Optional[Any] = None
@@ -68,7 +68,7 @@ class Connection(ExtensibleDbtClassMixin, Replaceable):
68
68
  type: Identifier,
69
69
  name: Optional[str],
70
70
  credentials: dbtClassMixin,
71
- state: ConnectionState = ConnectionState.INIT,
71
+ state: ConnectionState = ConnectionState.INIT, # type: ignore
72
72
  transaction_open: bool = False,
73
73
  handle: Optional[Any] = None,
74
74
  ) -> None:
@@ -0,0 +1,206 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: adapter_types.proto
4
+ # Protobuf Python Version: 4.25.2
5
+ """Generated protocol buffer code."""
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ from google.protobuf.internal import builder as _builder
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
16
+ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
17
+
18
+
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13\x61\x64\x61pter_types.proto\x12\x0bproto_types\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xab\x02\n\x16\x41\x64\x61pterCommonEventInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12\x0b\n\x03msg\x18\x03 \x01(\t\x12\r\n\x05level\x18\x04 \x01(\t\x12\x15\n\rinvocation_id\x18\x05 \x01(\t\x12\x0b\n\x03pid\x18\x06 \x01(\x05\x12\x0e\n\x06thread\x18\x07 \x01(\t\x12&\n\x02ts\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12=\n\x05\x65xtra\x18\t \x03(\x0b\x32..proto_types.AdapterCommonEventInfo.ExtraEntry\x12\x10\n\x08\x63\x61tegory\x18\n \x01(\t\x1a,\n\nExtraEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"]\n\x13\x41\x64\x61pterNodeRelation\x12\x10\n\x08\x64\x61tabase\x18\n \x01(\t\x12\x0e\n\x06schema\x18\x0b \x01(\t\x12\r\n\x05\x61lias\x18\x0c \x01(\t\x12\x15\n\rrelation_name\x18\r \x01(\t\"\x9f\x02\n\x0f\x41\x64\x61pterNodeInfo\x12\x11\n\tnode_path\x18\x01 \x01(\t\x12\x11\n\tnode_name\x18\x02 \x01(\t\x12\x11\n\tunique_id\x18\x03 \x01(\t\x12\x15\n\rresource_type\x18\x04 \x01(\t\x12\x14\n\x0cmaterialized\x18\x05 \x01(\t\x12\x13\n\x0bnode_status\x18\x06 \x01(\t\x12\x17\n\x0fnode_started_at\x18\x07 \x01(\t\x12\x18\n\x10node_finished_at\x18\x08 \x01(\t\x12%\n\x04meta\x18\t \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x37\n\rnode_relation\x18\n \x01(\x0b\x32 .proto_types.AdapterNodeRelation\"G\n\x0fReferenceKeyMsg\x12\x10\n\x08\x64\x61tabase\x18\x01 \x01(\t\x12\x0e\n\x06schema\x18\x02 \x01(\t\x12\x12\n\nidentifier\x18\x03 \x01(\t\"?\n\x19\x41\x64\x61pterDeprecationWarning\x12\x10\n\x08old_name\x18\x01 \x01(\t\x12\x10\n\x08new_name\x18\x02 \x01(\t\"\x87\x01\n\x1c\x41\x64\x61pterDeprecationWarningMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x34\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32&.proto_types.AdapterDeprecationWarning\"!\n\x1f\x43ollectFreshnessReturnSignature\"\x93\x01\n\"CollectFreshnessReturnSignatureMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12:\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32,.proto_types.CollectFreshnessReturnSignature\"\x8e\x01\n\x11\x41\x64\x61pterEventDebug\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x62\x61se_msg\x18\x03 \x01(\t\x12(\n\x04\x61rgs\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.ListValue\"w\n\x14\x41\x64\x61pterEventDebugMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12,\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1e.proto_types.AdapterEventDebug\"\x8d\x01\n\x10\x41\x64\x61pterEventInfo\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x62\x61se_msg\x18\x03 \x01(\t\x12(\n\x04\x61rgs\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.ListValue\"u\n\x13\x41\x64\x61pterEventInfoMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12+\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1d.proto_types.AdapterEventInfo\"\x90\x01\n\x13\x41\x64\x61pterEventWarning\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x62\x61se_msg\x18\x03 \x01(\t\x12(\n\x04\x61rgs\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.ListValue\"{\n\x16\x41\x64\x61pterEventWarningMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12.\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32 .proto_types.AdapterEventWarning\"\xa0\x01\n\x11\x41\x64\x61pterEventError\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x62\x61se_msg\x18\x03 \x01(\t\x12(\n\x04\x61rgs\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.ListValue\x12\x10\n\x08\x65xc_info\x18\x05 \x01(\t\"w\n\x14\x41\x64\x61pterEventErrorMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12,\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1e.proto_types.AdapterEventError\"f\n\rNewConnection\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_type\x18\x02 \x01(\t\x12\x11\n\tconn_name\x18\x03 \x01(\t\"o\n\x10NewConnectionMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12(\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1a.proto_types.NewConnection\"=\n\x10\x43onnectionReused\x12\x11\n\tconn_name\x18\x01 \x01(\t\x12\x16\n\x0eorig_conn_name\x18\x02 \x01(\t\"u\n\x13\x43onnectionReusedMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12+\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1d.proto_types.ConnectionReused\"0\n\x1b\x43onnectionLeftOpenInCleanup\x12\x11\n\tconn_name\x18\x01 \x01(\t\"\x8b\x01\n\x1e\x43onnectionLeftOpenInCleanupMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x36\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32(.proto_types.ConnectionLeftOpenInCleanup\".\n\x19\x43onnectionClosedInCleanup\x12\x11\n\tconn_name\x18\x01 \x01(\t\"\x87\x01\n\x1c\x43onnectionClosedInCleanupMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x34\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32&.proto_types.ConnectionClosedInCleanup\"f\n\x0eRollbackFailed\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_name\x18\x02 \x01(\t\x12\x10\n\x08\x65xc_info\x18\x03 \x01(\t\"q\n\x11RollbackFailedMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12)\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1b.proto_types.RollbackFailed\"V\n\x10\x43onnectionClosed\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_name\x18\x02 \x01(\t\"u\n\x13\x43onnectionClosedMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12+\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1d.proto_types.ConnectionClosed\"X\n\x12\x43onnectionLeftOpen\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_name\x18\x02 \x01(\t\"y\n\x15\x43onnectionLeftOpenMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12-\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1f.proto_types.ConnectionLeftOpen\"N\n\x08Rollback\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_name\x18\x02 \x01(\t\"e\n\x0bRollbackMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12#\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x15.proto_types.Rollback\"@\n\tCacheMiss\x12\x11\n\tconn_name\x18\x01 \x01(\t\x12\x10\n\x08\x64\x61tabase\x18\x02 \x01(\t\x12\x0e\n\x06schema\x18\x03 \x01(\t\"g\n\x0c\x43\x61\x63heMissMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.proto_types.CacheMiss\"b\n\rListRelations\x12\x10\n\x08\x64\x61tabase\x18\x01 \x01(\t\x12\x0e\n\x06schema\x18\x02 \x01(\t\x12/\n\trelations\x18\x03 \x03(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\"o\n\x10ListRelationsMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12(\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1a.proto_types.ListRelations\"g\n\x0e\x43onnectionUsed\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_type\x18\x02 \x01(\t\x12\x11\n\tconn_name\x18\x03 \x01(\t\"q\n\x11\x43onnectionUsedMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12)\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1b.proto_types.ConnectionUsed\"[\n\x08SQLQuery\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_name\x18\x02 \x01(\t\x12\x0b\n\x03sql\x18\x03 \x01(\t\"e\n\x0bSQLQueryMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12#\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x15.proto_types.SQLQuery\"b\n\x0eSQLQueryStatus\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x0e\n\x06status\x18\x02 \x01(\t\x12\x0f\n\x07\x65lapsed\x18\x03 \x01(\x02\"q\n\x11SQLQueryStatusMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12)\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1b.proto_types.SQLQueryStatus\"O\n\tSQLCommit\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_name\x18\x02 \x01(\t\"g\n\x0cSQLCommitMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.proto_types.SQLCommit\"a\n\rColTypeChange\x12\x11\n\torig_type\x18\x01 \x01(\t\x12\x10\n\x08new_type\x18\x02 \x01(\t\x12+\n\x05table\x18\x03 \x01(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\"o\n\x10\x43olTypeChangeMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12(\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1a.proto_types.ColTypeChange\"@\n\x0eSchemaCreation\x12.\n\x08relation\x18\x01 \x01(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\"q\n\x11SchemaCreationMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12)\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1b.proto_types.SchemaCreation\"<\n\nSchemaDrop\x12.\n\x08relation\x18\x01 \x01(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\"i\n\rSchemaDropMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12%\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x17.proto_types.SchemaDrop\"\xde\x01\n\x0b\x43\x61\x63heAction\x12\x0e\n\x06\x61\x63tion\x18\x01 \x01(\t\x12-\n\x07ref_key\x18\x02 \x01(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\x12/\n\tref_key_2\x18\x03 \x01(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\x12/\n\tref_key_3\x18\x04 \x01(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\x12.\n\x08ref_list\x18\x05 \x03(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\"k\n\x0e\x43\x61\x63heActionMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12&\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x18.proto_types.CacheAction\"\x98\x01\n\x0e\x43\x61\x63heDumpGraph\x12\x33\n\x04\x64ump\x18\x01 \x03(\x0b\x32%.proto_types.CacheDumpGraph.DumpEntry\x12\x14\n\x0c\x62\x65\x66ore_after\x18\x02 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x03 \x01(\t\x1a+\n\tDumpEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"q\n\x11\x43\x61\x63heDumpGraphMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12)\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1b.proto_types.CacheDumpGraph\"B\n\x11\x41\x64\x61pterRegistered\x12\x14\n\x0c\x61\x64\x61pter_name\x18\x01 \x01(\t\x12\x17\n\x0f\x61\x64\x61pter_version\x18\x02 \x01(\t\"w\n\x14\x41\x64\x61pterRegisteredMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12,\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1e.proto_types.AdapterRegistered\"!\n\x12\x41\x64\x61pterImportError\x12\x0b\n\x03\x65xc\x18\x01 \x01(\t\"y\n\x15\x41\x64\x61pterImportErrorMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12-\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1f.proto_types.AdapterImportError\"#\n\x0fPluginLoadError\x12\x10\n\x08\x65xc_info\x18\x01 \x01(\t\"s\n\x12PluginLoadErrorMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12*\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1c.proto_types.PluginLoadError\"a\n\x14NewConnectionOpening\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x18\n\x10\x63onnection_state\x18\x02 \x01(\t\"}\n\x17NewConnectionOpeningMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12/\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32!.proto_types.NewConnectionOpening\"8\n\rCodeExecution\x12\x11\n\tconn_name\x18\x01 \x01(\t\x12\x14\n\x0c\x63ode_content\x18\x02 \x01(\t\"o\n\x10\x43odeExecutionMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12(\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1a.proto_types.CodeExecution\"6\n\x13\x43odeExecutionStatus\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x0f\n\x07\x65lapsed\x18\x02 \x01(\x02\"{\n\x16\x43odeExecutionStatusMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12.\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32 .proto_types.CodeExecutionStatus\"%\n\x16\x43\x61talogGenerationError\x12\x0b\n\x03\x65xc\x18\x01 \x01(\t\"\x81\x01\n\x19\x43\x61talogGenerationErrorMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x31\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32#.proto_types.CatalogGenerationError\"-\n\x13WriteCatalogFailure\x12\x16\n\x0enum_exceptions\x18\x01 \x01(\x05\"{\n\x16WriteCatalogFailureMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12.\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32 .proto_types.WriteCatalogFailure\"\x1e\n\x0e\x43\x61talogWritten\x12\x0c\n\x04path\x18\x01 \x01(\t\"q\n\x11\x43\x61talogWrittenMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12)\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1b.proto_types.CatalogWritten\"\x14\n\x12\x43\x61nnotGenerateDocs\"y\n\x15\x43\x61nnotGenerateDocsMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12-\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1f.proto_types.CannotGenerateDocs\"\x11\n\x0f\x42uildingCatalog\"s\n\x12\x42uildingCatalogMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12*\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1c.proto_types.BuildingCatalog\"-\n\x18\x44\x61tabaseErrorRunningHook\x12\x11\n\thook_type\x18\x01 \x01(\t\"\x85\x01\n\x1b\x44\x61tabaseErrorRunningHookMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x33\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32%.proto_types.DatabaseErrorRunningHook\"4\n\x0cHooksRunning\x12\x11\n\tnum_hooks\x18\x01 \x01(\x05\x12\x11\n\thook_type\x18\x02 \x01(\t\"m\n\x0fHooksRunningMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\'\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x19.proto_types.HooksRunning\"T\n\x14\x46inishedRunningStats\x12\x11\n\tstat_line\x18\x01 \x01(\t\x12\x11\n\texecution\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_time\x18\x03 \x01(\x02\"}\n\x17\x46inishedRunningStatsMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12/\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32!.proto_types.FinishedRunningStats\"<\n\x15\x43onstraintNotEnforced\x12\x12\n\nconstraint\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x61pter\x18\x02 \x01(\t\"\x7f\n\x18\x43onstraintNotEnforcedMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x30\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\".proto_types.ConstraintNotEnforced\"=\n\x16\x43onstraintNotSupported\x12\x12\n\nconstraint\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x61pter\x18\x02 \x01(\t\"\x81\x01\n\x19\x43onstraintNotSupportedMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x31\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32#.proto_types.ConstraintNotSupportedb\x06proto3')
20
+
21
+ _globals = globals()
22
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
23
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'adapter_types_pb2', _globals)
24
+ if _descriptor._USE_C_DESCRIPTORS == False:
25
+ DESCRIPTOR._options = None
26
+ _globals['_ADAPTERCOMMONEVENTINFO_EXTRAENTRY']._options = None
27
+ _globals['_ADAPTERCOMMONEVENTINFO_EXTRAENTRY']._serialized_options = b'8\001'
28
+ _globals['_CACHEDUMPGRAPH_DUMPENTRY']._options = None
29
+ _globals['_CACHEDUMPGRAPH_DUMPENTRY']._serialized_options = b'8\001'
30
+ _globals['_ADAPTERCOMMONEVENTINFO']._serialized_start=100
31
+ _globals['_ADAPTERCOMMONEVENTINFO']._serialized_end=399
32
+ _globals['_ADAPTERCOMMONEVENTINFO_EXTRAENTRY']._serialized_start=355
33
+ _globals['_ADAPTERCOMMONEVENTINFO_EXTRAENTRY']._serialized_end=399
34
+ _globals['_ADAPTERNODERELATION']._serialized_start=401
35
+ _globals['_ADAPTERNODERELATION']._serialized_end=494
36
+ _globals['_ADAPTERNODEINFO']._serialized_start=497
37
+ _globals['_ADAPTERNODEINFO']._serialized_end=784
38
+ _globals['_REFERENCEKEYMSG']._serialized_start=786
39
+ _globals['_REFERENCEKEYMSG']._serialized_end=857
40
+ _globals['_ADAPTERDEPRECATIONWARNING']._serialized_start=859
41
+ _globals['_ADAPTERDEPRECATIONWARNING']._serialized_end=922
42
+ _globals['_ADAPTERDEPRECATIONWARNINGMSG']._serialized_start=925
43
+ _globals['_ADAPTERDEPRECATIONWARNINGMSG']._serialized_end=1060
44
+ _globals['_COLLECTFRESHNESSRETURNSIGNATURE']._serialized_start=1062
45
+ _globals['_COLLECTFRESHNESSRETURNSIGNATURE']._serialized_end=1095
46
+ _globals['_COLLECTFRESHNESSRETURNSIGNATUREMSG']._serialized_start=1098
47
+ _globals['_COLLECTFRESHNESSRETURNSIGNATUREMSG']._serialized_end=1245
48
+ _globals['_ADAPTEREVENTDEBUG']._serialized_start=1248
49
+ _globals['_ADAPTEREVENTDEBUG']._serialized_end=1390
50
+ _globals['_ADAPTEREVENTDEBUGMSG']._serialized_start=1392
51
+ _globals['_ADAPTEREVENTDEBUGMSG']._serialized_end=1511
52
+ _globals['_ADAPTEREVENTINFO']._serialized_start=1514
53
+ _globals['_ADAPTEREVENTINFO']._serialized_end=1655
54
+ _globals['_ADAPTEREVENTINFOMSG']._serialized_start=1657
55
+ _globals['_ADAPTEREVENTINFOMSG']._serialized_end=1774
56
+ _globals['_ADAPTEREVENTWARNING']._serialized_start=1777
57
+ _globals['_ADAPTEREVENTWARNING']._serialized_end=1921
58
+ _globals['_ADAPTEREVENTWARNINGMSG']._serialized_start=1923
59
+ _globals['_ADAPTEREVENTWARNINGMSG']._serialized_end=2046
60
+ _globals['_ADAPTEREVENTERROR']._serialized_start=2049
61
+ _globals['_ADAPTEREVENTERROR']._serialized_end=2209
62
+ _globals['_ADAPTEREVENTERRORMSG']._serialized_start=2211
63
+ _globals['_ADAPTEREVENTERRORMSG']._serialized_end=2330
64
+ _globals['_NEWCONNECTION']._serialized_start=2332
65
+ _globals['_NEWCONNECTION']._serialized_end=2434
66
+ _globals['_NEWCONNECTIONMSG']._serialized_start=2436
67
+ _globals['_NEWCONNECTIONMSG']._serialized_end=2547
68
+ _globals['_CONNECTIONREUSED']._serialized_start=2549
69
+ _globals['_CONNECTIONREUSED']._serialized_end=2610
70
+ _globals['_CONNECTIONREUSEDMSG']._serialized_start=2612
71
+ _globals['_CONNECTIONREUSEDMSG']._serialized_end=2729
72
+ _globals['_CONNECTIONLEFTOPENINCLEANUP']._serialized_start=2731
73
+ _globals['_CONNECTIONLEFTOPENINCLEANUP']._serialized_end=2779
74
+ _globals['_CONNECTIONLEFTOPENINCLEANUPMSG']._serialized_start=2782
75
+ _globals['_CONNECTIONLEFTOPENINCLEANUPMSG']._serialized_end=2921
76
+ _globals['_CONNECTIONCLOSEDINCLEANUP']._serialized_start=2923
77
+ _globals['_CONNECTIONCLOSEDINCLEANUP']._serialized_end=2969
78
+ _globals['_CONNECTIONCLOSEDINCLEANUPMSG']._serialized_start=2972
79
+ _globals['_CONNECTIONCLOSEDINCLEANUPMSG']._serialized_end=3107
80
+ _globals['_ROLLBACKFAILED']._serialized_start=3109
81
+ _globals['_ROLLBACKFAILED']._serialized_end=3211
82
+ _globals['_ROLLBACKFAILEDMSG']._serialized_start=3213
83
+ _globals['_ROLLBACKFAILEDMSG']._serialized_end=3326
84
+ _globals['_CONNECTIONCLOSED']._serialized_start=3328
85
+ _globals['_CONNECTIONCLOSED']._serialized_end=3414
86
+ _globals['_CONNECTIONCLOSEDMSG']._serialized_start=3416
87
+ _globals['_CONNECTIONCLOSEDMSG']._serialized_end=3533
88
+ _globals['_CONNECTIONLEFTOPEN']._serialized_start=3535
89
+ _globals['_CONNECTIONLEFTOPEN']._serialized_end=3623
90
+ _globals['_CONNECTIONLEFTOPENMSG']._serialized_start=3625
91
+ _globals['_CONNECTIONLEFTOPENMSG']._serialized_end=3746
92
+ _globals['_ROLLBACK']._serialized_start=3748
93
+ _globals['_ROLLBACK']._serialized_end=3826
94
+ _globals['_ROLLBACKMSG']._serialized_start=3828
95
+ _globals['_ROLLBACKMSG']._serialized_end=3929
96
+ _globals['_CACHEMISS']._serialized_start=3931
97
+ _globals['_CACHEMISS']._serialized_end=3995
98
+ _globals['_CACHEMISSMSG']._serialized_start=3997
99
+ _globals['_CACHEMISSMSG']._serialized_end=4100
100
+ _globals['_LISTRELATIONS']._serialized_start=4102
101
+ _globals['_LISTRELATIONS']._serialized_end=4200
102
+ _globals['_LISTRELATIONSMSG']._serialized_start=4202
103
+ _globals['_LISTRELATIONSMSG']._serialized_end=4313
104
+ _globals['_CONNECTIONUSED']._serialized_start=4315
105
+ _globals['_CONNECTIONUSED']._serialized_end=4418
106
+ _globals['_CONNECTIONUSEDMSG']._serialized_start=4420
107
+ _globals['_CONNECTIONUSEDMSG']._serialized_end=4533
108
+ _globals['_SQLQUERY']._serialized_start=4535
109
+ _globals['_SQLQUERY']._serialized_end=4626
110
+ _globals['_SQLQUERYMSG']._serialized_start=4628
111
+ _globals['_SQLQUERYMSG']._serialized_end=4729
112
+ _globals['_SQLQUERYSTATUS']._serialized_start=4731
113
+ _globals['_SQLQUERYSTATUS']._serialized_end=4829
114
+ _globals['_SQLQUERYSTATUSMSG']._serialized_start=4831
115
+ _globals['_SQLQUERYSTATUSMSG']._serialized_end=4944
116
+ _globals['_SQLCOMMIT']._serialized_start=4946
117
+ _globals['_SQLCOMMIT']._serialized_end=5025
118
+ _globals['_SQLCOMMITMSG']._serialized_start=5027
119
+ _globals['_SQLCOMMITMSG']._serialized_end=5130
120
+ _globals['_COLTYPECHANGE']._serialized_start=5132
121
+ _globals['_COLTYPECHANGE']._serialized_end=5229
122
+ _globals['_COLTYPECHANGEMSG']._serialized_start=5231
123
+ _globals['_COLTYPECHANGEMSG']._serialized_end=5342
124
+ _globals['_SCHEMACREATION']._serialized_start=5344
125
+ _globals['_SCHEMACREATION']._serialized_end=5408
126
+ _globals['_SCHEMACREATIONMSG']._serialized_start=5410
127
+ _globals['_SCHEMACREATIONMSG']._serialized_end=5523
128
+ _globals['_SCHEMADROP']._serialized_start=5525
129
+ _globals['_SCHEMADROP']._serialized_end=5585
130
+ _globals['_SCHEMADROPMSG']._serialized_start=5587
131
+ _globals['_SCHEMADROPMSG']._serialized_end=5692
132
+ _globals['_CACHEACTION']._serialized_start=5695
133
+ _globals['_CACHEACTION']._serialized_end=5917
134
+ _globals['_CACHEACTIONMSG']._serialized_start=5919
135
+ _globals['_CACHEACTIONMSG']._serialized_end=6026
136
+ _globals['_CACHEDUMPGRAPH']._serialized_start=6029
137
+ _globals['_CACHEDUMPGRAPH']._serialized_end=6181
138
+ _globals['_CACHEDUMPGRAPH_DUMPENTRY']._serialized_start=6138
139
+ _globals['_CACHEDUMPGRAPH_DUMPENTRY']._serialized_end=6181
140
+ _globals['_CACHEDUMPGRAPHMSG']._serialized_start=6183
141
+ _globals['_CACHEDUMPGRAPHMSG']._serialized_end=6296
142
+ _globals['_ADAPTERREGISTERED']._serialized_start=6298
143
+ _globals['_ADAPTERREGISTERED']._serialized_end=6364
144
+ _globals['_ADAPTERREGISTEREDMSG']._serialized_start=6366
145
+ _globals['_ADAPTERREGISTEREDMSG']._serialized_end=6485
146
+ _globals['_ADAPTERIMPORTERROR']._serialized_start=6487
147
+ _globals['_ADAPTERIMPORTERROR']._serialized_end=6520
148
+ _globals['_ADAPTERIMPORTERRORMSG']._serialized_start=6522
149
+ _globals['_ADAPTERIMPORTERRORMSG']._serialized_end=6643
150
+ _globals['_PLUGINLOADERROR']._serialized_start=6645
151
+ _globals['_PLUGINLOADERROR']._serialized_end=6680
152
+ _globals['_PLUGINLOADERRORMSG']._serialized_start=6682
153
+ _globals['_PLUGINLOADERRORMSG']._serialized_end=6797
154
+ _globals['_NEWCONNECTIONOPENING']._serialized_start=6799
155
+ _globals['_NEWCONNECTIONOPENING']._serialized_end=6896
156
+ _globals['_NEWCONNECTIONOPENINGMSG']._serialized_start=6898
157
+ _globals['_NEWCONNECTIONOPENINGMSG']._serialized_end=7023
158
+ _globals['_CODEEXECUTION']._serialized_start=7025
159
+ _globals['_CODEEXECUTION']._serialized_end=7081
160
+ _globals['_CODEEXECUTIONMSG']._serialized_start=7083
161
+ _globals['_CODEEXECUTIONMSG']._serialized_end=7194
162
+ _globals['_CODEEXECUTIONSTATUS']._serialized_start=7196
163
+ _globals['_CODEEXECUTIONSTATUS']._serialized_end=7250
164
+ _globals['_CODEEXECUTIONSTATUSMSG']._serialized_start=7252
165
+ _globals['_CODEEXECUTIONSTATUSMSG']._serialized_end=7375
166
+ _globals['_CATALOGGENERATIONERROR']._serialized_start=7377
167
+ _globals['_CATALOGGENERATIONERROR']._serialized_end=7414
168
+ _globals['_CATALOGGENERATIONERRORMSG']._serialized_start=7417
169
+ _globals['_CATALOGGENERATIONERRORMSG']._serialized_end=7546
170
+ _globals['_WRITECATALOGFAILURE']._serialized_start=7548
171
+ _globals['_WRITECATALOGFAILURE']._serialized_end=7593
172
+ _globals['_WRITECATALOGFAILUREMSG']._serialized_start=7595
173
+ _globals['_WRITECATALOGFAILUREMSG']._serialized_end=7718
174
+ _globals['_CATALOGWRITTEN']._serialized_start=7720
175
+ _globals['_CATALOGWRITTEN']._serialized_end=7750
176
+ _globals['_CATALOGWRITTENMSG']._serialized_start=7752
177
+ _globals['_CATALOGWRITTENMSG']._serialized_end=7865
178
+ _globals['_CANNOTGENERATEDOCS']._serialized_start=7867
179
+ _globals['_CANNOTGENERATEDOCS']._serialized_end=7887
180
+ _globals['_CANNOTGENERATEDOCSMSG']._serialized_start=7889
181
+ _globals['_CANNOTGENERATEDOCSMSG']._serialized_end=8010
182
+ _globals['_BUILDINGCATALOG']._serialized_start=8012
183
+ _globals['_BUILDINGCATALOG']._serialized_end=8029
184
+ _globals['_BUILDINGCATALOGMSG']._serialized_start=8031
185
+ _globals['_BUILDINGCATALOGMSG']._serialized_end=8146
186
+ _globals['_DATABASEERRORRUNNINGHOOK']._serialized_start=8148
187
+ _globals['_DATABASEERRORRUNNINGHOOK']._serialized_end=8193
188
+ _globals['_DATABASEERRORRUNNINGHOOKMSG']._serialized_start=8196
189
+ _globals['_DATABASEERRORRUNNINGHOOKMSG']._serialized_end=8329
190
+ _globals['_HOOKSRUNNING']._serialized_start=8331
191
+ _globals['_HOOKSRUNNING']._serialized_end=8383
192
+ _globals['_HOOKSRUNNINGMSG']._serialized_start=8385
193
+ _globals['_HOOKSRUNNINGMSG']._serialized_end=8494
194
+ _globals['_FINISHEDRUNNINGSTATS']._serialized_start=8496
195
+ _globals['_FINISHEDRUNNINGSTATS']._serialized_end=8580
196
+ _globals['_FINISHEDRUNNINGSTATSMSG']._serialized_start=8582
197
+ _globals['_FINISHEDRUNNINGSTATSMSG']._serialized_end=8707
198
+ _globals['_CONSTRAINTNOTENFORCED']._serialized_start=8709
199
+ _globals['_CONSTRAINTNOTENFORCED']._serialized_end=8769
200
+ _globals['_CONSTRAINTNOTENFORCEDMSG']._serialized_start=8771
201
+ _globals['_CONSTRAINTNOTENFORCEDMSG']._serialized_end=8898
202
+ _globals['_CONSTRAINTNOTSUPPORTED']._serialized_start=8900
203
+ _globals['_CONSTRAINTNOTSUPPORTED']._serialized_end=8961
204
+ _globals['_CONSTRAINTNOTSUPPORTEDMSG']._serialized_start=8964
205
+ _globals['_CONSTRAINTNOTSUPPORTEDMSG']._serialized_end=9093
206
+ # @@protoc_insertion_point(module_scope)
File without changes
@@ -31,6 +31,7 @@ dependencies = [
31
31
  "protobuf<5.0",
32
32
  "typing-extensions<5.0",
33
33
  ]
34
+
34
35
  [project.optional-dependencies]
35
36
  lint = [
36
37
  "black",
@@ -39,6 +40,7 @@ lint = [
39
40
  ]
40
41
  typecheck = [
41
42
  "mypy",
43
+ "types-PyYAML",
42
44
  "types-protobuf",
43
45
  "types-pytz",
44
46
  ]
@@ -64,14 +66,14 @@ Changelog = "https://github.com/dbt-labs/dbt-adapters/blob/main/CHANGELOG.md"
64
66
  requires = ["hatchling"]
65
67
  build-backend = "hatchling.build"
66
68
 
69
+ [tool.hatch.version]
70
+ path = "dbt/adapters/__about__.py"
71
+
67
72
  [tool.hatch.build.targets.sdist]
68
- include = ["dbt"]
73
+ include = ["dbt/adapters", "dbt/include", "dbt/__init__.py"]
69
74
 
70
75
  [tool.hatch.build.targets.wheel]
71
- packages = ["dbt"]
72
-
73
- [tool.hatch.version]
74
- path = "dbt/adapters/__about__.py"
76
+ include = ["dbt/adapters", "dbt/include", "dbt/__init__.py"]
75
77
 
76
78
  [tool.hatch.envs.default]
77
79
  features = [
@@ -80,16 +82,40 @@ features = [
80
82
  "test",
81
83
  "build",
82
84
  ]
83
- [tool.hatch.envs.default.scripts]
84
- unit-tests = "- python -m pytest {args:tests/unit}"
85
- lint-all = [
86
- "- lint-black",
87
- "- lint-flake8",
88
- "- lint-mypy",
85
+
86
+ [tool.hatch.envs.lint]
87
+ detached = true
88
+ features = ["lint"]
89
+ [tool.hatch.envs.lint.scripts]
90
+ all = [
91
+ "- black-only",
92
+ "- flake8-only",
93
+ ]
94
+ black-only = "python -m black ."
95
+ flake8-only = "python -m flake8 ."
96
+
97
+ [tool.hatch.envs.typecheck]
98
+ features = ["typecheck"]
99
+ [tool.hatch.envs.typecheck.scripts]
100
+ all = "python -m mypy ."
101
+
102
+ [tool.hatch.envs.unit-tests]
103
+ features = ["test"]
104
+ [tool.hatch.envs.unit-tests.scripts]
105
+ all = "python -m pytest {args:tests/unit}"
106
+
107
+ [tool.hatch.envs.integration-tests]
108
+ features = ["test"]
109
+ extra-dependencies = [
110
+ "dbt-tests-adapter @ {root:uri}/dbt-tests-adapter",
89
111
  ]
90
- lint-black = "python -m black ."
91
- lint-flake8 = "python -m flake8 ."
92
- lint-mypy = "python -m mypy ."
112
+ [tool.hatch.envs.integration-tests.scripts]
113
+ all = "python -m pytest {args:tests/functional}"
114
+
115
+ [tool.hatch.envs.build]
116
+ detached = true
117
+ features = ["build"]
118
+ [tool.hatch.envs.build.scripts]
93
119
  check-all = [
94
120
  "- check-wheel",
95
121
  "- check-sdist",
@@ -104,6 +130,7 @@ check-sdist = [
104
130
  "find ./dist/dbt_adapters-*.gz -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/",
105
131
  "pip freeze | grep dbt-adapters",
106
132
  ]
133
+ protobuf = "protoc -I=./dbt/adapters/events --python_out=./dbt/adapters/events ./dbt/adapters/events/adapter_types.proto"
107
134
 
108
135
  [tool.black]
109
136
  extend-exclude = "dbt/adapters/events/adapter_types_pb2.py"
@@ -115,7 +142,7 @@ select = ["E", "W", "F"]
115
142
  ignore = ["E203", "E501", "E741", "W503", "W504"]
116
143
  exclude = [
117
144
  "dbt/adapters/events/adapter_types_pb2.py",
118
- "tests",
145
+ "tests/functional",
119
146
  "venv",
120
147
  ]
121
148
  per-file-ignores = ["*/__init__.py: F401"]
@@ -128,7 +155,7 @@ ignore_missing_imports = true
128
155
  pretty = true
129
156
  mypy_path = "third-party-stubs/"
130
157
  files = [
131
- "dbt/adapters",
158
+ "dbt",
132
159
  "tests/unit",
133
160
  ]
134
161
  exclude = [
@@ -1 +0,0 @@
1
- version = "0.1.0a2"