Skip to content

Commit

Permalink
Add sleep method (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmaksimovski authored Nov 29, 2024
1 parent aded792 commit d40ec5e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dbt/adapters/risingwave/impl.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import time

from dbt.adapters.base.meta import available
from dbt.adapters.postgres.impl import PostgresAdapter

from dbt.adapters.risingwave.connections import RisingWaveConnectionManager
Expand All @@ -11,3 +14,8 @@ class RisingWaveAdapter(PostgresAdapter):
def _link_cached_relations(self, manifest):
# lack of `pg_depend`, `pg_rewrite`
pass

@available
@classmethod
def sleep(cls, seconds):
time.sleep(seconds)

0 comments on commit d40ec5e

Please sign in to comment.