File tree Expand file tree Collapse file tree 1 file changed +8
-17
lines changed
lib/dl_connector_bitrix_gds/dl_connector_bitrix_gds/core Expand file tree Collapse file tree 1 file changed +8
-17
lines changed Original file line number Diff line number Diff line change 11from __future__ import annotations
22
3- import os
43from typing import (
54 ClassVar ,
65 Optional ,
2221)
2322
2423
25- def _get_supported_join_types () -> frozenset [JoinType ]:
26- flag = os .environ .get ("EXPERIMENTAL_BITRIX_ENABLE_JOIN_TYPES" , "false" )
27- if flag .lower () == "true" :
28- return frozenset (
29- {
30- JoinType .inner ,
31- JoinType .left ,
32- JoinType .full ,
33- JoinType .right ,
34- }
35- )
36-
37- return frozenset ()
38-
39-
4024class BitrixGDSDataSource (PseudoSQLDataSource ):
41- supported_join_types : ClassVar [frozenset [JoinType ]] = _get_supported_join_types ()
25+ supported_join_types : ClassVar [frozenset [JoinType ]] = frozenset (
26+ {
27+ JoinType .inner ,
28+ JoinType .left ,
29+ JoinType .full ,
30+ JoinType .right ,
31+ }
32+ )
4233 conn_type = CONNECTION_TYPE_BITRIX24
4334
4435 @property
You can’t perform that action at this time.
0 commit comments