Skip to content

Commit

Permalink
Fix breaking compatibility with Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
damian3031 committed Nov 26, 2024
1 parent 2e08c8a commit 335c13b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .changes/unreleased/Fixes-20241126-125237.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
kind: Fixes
body: Fix breaking compatibility with Python 3.8
time: 2024-11-26T12:52:37.426245+01:00
custom:
Author: damian3031
Issue: ""
PR: "452"
4 changes: 2 additions & 2 deletions dbt/adapters/trino/impl.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from dataclasses import dataclass
from typing import Dict, Optional
from typing import Dict, List, Optional

import agate
from dbt.adapters.base.impl import AdapterConfig, ConstraintSupport
Expand Down Expand Up @@ -53,7 +53,7 @@ def __init__(self, config, mp_context) -> None:
self.connections = self.ConnectionManager(config, mp_context, self.behavior)

@property
def _behavior_flags(self) -> list[BehaviorFlag]:
def _behavior_flags(self) -> List[BehaviorFlag]:
return [
{ # type: ignore
"name": "require_certificate_validation",
Expand Down

0 comments on commit 335c13b

Please sign in to comment.