testgres.postgres-configuration 0.0.1__tar.gz → 0.1.0__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.
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/PKG-INFO +2 -2
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/setup.cfg +2 -2
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/setup.py +2 -2
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/helpers.py +1 -1
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/model.py +17 -14
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/prepare_get_value/option_handler_to_prepare_get_value__std__unique_str_list.py +4 -3
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/prepare_set_value/option_handler_to_prepare_set_value__std__bool.py +4 -2
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/prepare_set_value/option_handler_to_prepare_set_value__std__unique_str_list.py +4 -3
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/read_utils.py +3 -3
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/write_utils.py +3 -1
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/implementation/v00/configuration_base.py +46 -14
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/os/abstract/configuration_os_ops.py +2 -1
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/os/local/configuration_os_ops.py +10 -2
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/testgres.postgres_configuration.egg-info/PKG-INFO +2 -2
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/testgres.postgres_configuration.egg-info/SOURCES.txt +0 -18
- testgres_postgres_configuration-0.0.1/src/abstract/__init__.py +0 -22
- testgres_postgres_configuration-0.0.1/src/abstract/v00/__init__.py +0 -22
- testgres_postgres_configuration-0.0.1/src/core/__init__.py +0 -22
- testgres_postgres_configuration-0.0.1/src/core/option/__init__.py +0 -22
- testgres_postgres_configuration-0.0.1/src/core/option/handlers/__init__.py +0 -22
- testgres_postgres_configuration-0.0.1/src/core/option/handlers/add/__init__.py +0 -22
- testgres_postgres_configuration-0.0.1/src/core/option/handlers/get_value/__init__.py +0 -22
- testgres_postgres_configuration-0.0.1/src/core/option/handlers/prepare_get_value/__init__.py +0 -22
- testgres_postgres_configuration-0.0.1/src/core/option/handlers/prepare_set_value/__init__.py +0 -22
- testgres_postgres_configuration-0.0.1/src/core/option/handlers/prepare_set_value_item/__init__.py +0 -22
- testgres_postgres_configuration-0.0.1/src/core/option/handlers/set_value/__init__.py +0 -22
- testgres_postgres_configuration-0.0.1/src/core/option/handlers/set_value_item/__init__.py +0 -22
- testgres_postgres_configuration-0.0.1/src/core/option/handlers/write/__init__.py +0 -22
- testgres_postgres_configuration-0.0.1/src/implementation/__init__.py +0 -22
- testgres_postgres_configuration-0.0.1/src/implementation/v00/__init__.py +0 -22
- testgres_postgres_configuration-0.0.1/src/os/__init__.py +0 -22
- testgres_postgres_configuration-0.0.1/src/os/abstract/__init__.py +0 -22
- testgres_postgres_configuration-0.0.1/src/os/local/__init__.py +0 -22
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/README.md +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/__init__.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/abstract/v00/configuration.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/bugcheck_error.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/controller_utils.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/data_verificator.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/handlers.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/add/option_handler_to_add__std.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/get_value/option_handler_to_get_value__std__simple.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/get_value/option_handler_to_get_value__std__union_list.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/prepare_get_value/option_handler_to_prepare_get_value__std__bool.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/prepare_get_value/option_handler_to_prepare_get_value__std__generic.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/prepare_get_value/option_handler_to_prepare_get_value__std__int.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/prepare_get_value/option_handler_to_prepare_get_value__std__str.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/prepare_set_value/option_handler_to_prepare_set_value__std__generic.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/prepare_set_value/option_handler_to_prepare_set_value__std__int.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/prepare_set_value/option_handler_to_prepare_set_value__std__str.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/prepare_set_value_item/option_handler_to_prepare_set_value_item__std__str.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/set_value/option_handler_to_set_value__std__simple.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/set_value_item/option_handler_to_set_value_item__std__unique.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/write/option_handler_to_write__std__bool.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/write/option_handler_to_write__std__generic.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/write/option_handler_to_write__std__int.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/write/option_handler_to_write__std__str.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/option/handlers/write/option_handler_to_write__std__unique_str_list.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/raise_error.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/implementation/v00/configuration_std.py +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/testgres.postgres_configuration.egg-info/dependency_links.txt +0 -0
- {testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/testgres.postgres_configuration.egg-info/top_level.txt +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: testgres.postgres_configuration
|
|
3
|
-
Version: 0.0
|
|
3
|
+
Version: 0.1.0
|
|
4
4
|
Summary: PostgreSQL Configuration Python Library
|
|
5
5
|
Home-page: https://github.com/postgrespro/testgres.pg_conf
|
|
6
6
|
Author: Postgres Professional
|
|
7
|
-
Author-email:
|
|
7
|
+
Author-email: testgres@postgrespro.ru
|
|
8
8
|
License: PostgreSQL
|
|
9
9
|
Keywords: postgresql,postgres,test
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
@@ -16,7 +16,7 @@ with open("README.md", "r") as f:
|
|
|
16
16
|
readme = f.read()
|
|
17
17
|
|
|
18
18
|
setup(
|
|
19
|
-
version="0.0
|
|
19
|
+
version="0.1.0",
|
|
20
20
|
name="testgres.postgres_configuration",
|
|
21
21
|
packages=[
|
|
22
22
|
"testgres.postgres_configuration",
|
|
@@ -46,7 +46,7 @@ setup(
|
|
|
46
46
|
long_description_content_type="text/markdown",
|
|
47
47
|
license="PostgreSQL",
|
|
48
48
|
author="Postgres Professional",
|
|
49
|
-
author_email="
|
|
49
|
+
author_email="testgres@postgrespro.ru",
|
|
50
50
|
keywords=["postgresql", "postgres", "test"],
|
|
51
51
|
install_requires=install_requires,
|
|
52
52
|
classifiers=[],
|
{testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/helpers.py
RENAMED
|
@@ -27,7 +27,7 @@ class Helpers:
|
|
|
27
27
|
|
|
28
28
|
# --------------------------------------------------------------------
|
|
29
29
|
def ExtractFirstOptionFromIndexItem(
|
|
30
|
-
optionName: str, indexItem: typing.Union[OptionData,
|
|
30
|
+
optionName: str, indexItem: typing.Union[OptionData, typing.List[OptionData]]
|
|
31
31
|
) -> OptionData:
|
|
32
32
|
assert type(optionName) == str
|
|
33
33
|
|
{testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/model.py
RENAMED
|
@@ -155,7 +155,7 @@ class FileLineData(ObjectData):
|
|
|
155
155
|
|
|
156
156
|
# --------------------------------------------------------------------
|
|
157
157
|
m_Parent: FileData
|
|
158
|
-
m_Items:
|
|
158
|
+
m_Items: typing.List[tagItem]
|
|
159
159
|
|
|
160
160
|
# --------------------------------------------------------------------
|
|
161
161
|
def __init__(self, parent: FileData):
|
|
@@ -164,7 +164,7 @@ class FileLineData(ObjectData):
|
|
|
164
164
|
super().__init__()
|
|
165
165
|
|
|
166
166
|
self.m_Parent = parent
|
|
167
|
-
self.m_Items = list
|
|
167
|
+
self.m_Items = list()
|
|
168
168
|
|
|
169
169
|
# own interface ------------------------------------------------------
|
|
170
170
|
def MarkAsDeletedFrom(self, fileData: FileData) -> None:
|
|
@@ -206,9 +206,9 @@ class FileData(ObjectData):
|
|
|
206
206
|
m_LastModifiedTimestamp: typing.Optional[datetime.datetime]
|
|
207
207
|
|
|
208
208
|
m_Path: str
|
|
209
|
-
m_Lines:
|
|
209
|
+
m_Lines: typing.List[FileLineData]
|
|
210
210
|
|
|
211
|
-
m_OptionsByName:
|
|
211
|
+
m_OptionsByName: typing.Dict[str, OptionData]
|
|
212
212
|
|
|
213
213
|
# --------------------------------------------------------------------
|
|
214
214
|
def __init__(self, parent: ConfigurationData, path: str):
|
|
@@ -226,9 +226,10 @@ class FileData(ObjectData):
|
|
|
226
226
|
self.m_LastModifiedTimestamp = None
|
|
227
227
|
|
|
228
228
|
self.m_Path = path
|
|
229
|
-
self.m_Lines = list
|
|
229
|
+
self.m_Lines = list()
|
|
230
230
|
|
|
231
|
-
self.m_OptionsByName = dict
|
|
231
|
+
self.m_OptionsByName = dict()
|
|
232
|
+
assert type(self.m_OptionsByName) == dict
|
|
232
233
|
|
|
233
234
|
assert type(self.m_Path) == str
|
|
234
235
|
assert self.m_Path != ""
|
|
@@ -254,10 +255,10 @@ class ConfigurationData(ObjectData):
|
|
|
254
255
|
m_DataDir: str
|
|
255
256
|
m_OsOps: ConfigurationOsOps
|
|
256
257
|
|
|
257
|
-
m_Files:
|
|
258
|
+
m_Files: typing.List[FileData]
|
|
258
259
|
|
|
259
|
-
m_AllOptionsByName:
|
|
260
|
-
m_AllFilesByName:
|
|
260
|
+
m_AllOptionsByName: typing.Dict[str, typing.Union[OptionData, typing.List[OptionData]]]
|
|
261
|
+
m_AllFilesByName: typing.Dict[str, typing.Union[FileData, typing.List[FileData]]]
|
|
261
262
|
|
|
262
263
|
# --------------------------------------------------------------------
|
|
263
264
|
def __init__(self, data_dir: str, osOps: ConfigurationOsOps):
|
|
@@ -269,11 +270,13 @@ class ConfigurationData(ObjectData):
|
|
|
269
270
|
self.m_DataDir = data_dir
|
|
270
271
|
self.m_OsOps = osOps
|
|
271
272
|
|
|
272
|
-
self.m_Files = list
|
|
273
|
-
self.m_AllOptionsByName = dict
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
self.
|
|
273
|
+
self.m_Files = list()
|
|
274
|
+
self.m_AllOptionsByName = dict()
|
|
275
|
+
self.m_AllFilesByName = dict()
|
|
276
|
+
|
|
277
|
+
assert type(self.m_Files) == list
|
|
278
|
+
assert type(self.m_AllOptionsByName) == dict
|
|
279
|
+
assert type(self.m_AllFilesByName) == dict
|
|
277
280
|
|
|
278
281
|
# Own interface ------------------------------------------------------
|
|
279
282
|
@property
|
|
@@ -7,6 +7,8 @@ from ....handlers import OptionHandlerToPrepareGetValue
|
|
|
7
7
|
from ....handlers import OptionHandlerCtxToPrepareGetValue
|
|
8
8
|
from ....handlers import ConfigurationDataHandler
|
|
9
9
|
|
|
10
|
+
import typing
|
|
11
|
+
|
|
10
12
|
# //////////////////////////////////////////////////////////////////////////////
|
|
11
13
|
# OptionHandlerToPrepareGetValue__Std__UniqueStrList
|
|
12
14
|
|
|
@@ -25,9 +27,8 @@ class OptionHandlerToPrepareGetValue__Std__UniqueStrList(
|
|
|
25
27
|
assert ctx.OptionValue is not None
|
|
26
28
|
assert type(ctx.OptionValue) == list
|
|
27
29
|
|
|
28
|
-
result = list
|
|
29
|
-
|
|
30
|
-
index = set[str]()
|
|
30
|
+
result: typing.List[str] = list()
|
|
31
|
+
index: set[str] = set()
|
|
31
32
|
|
|
32
33
|
for x in ctx.OptionValue:
|
|
33
34
|
assert x is not None
|
|
@@ -9,6 +9,8 @@ from ....handlers import OptionHandlerToPrepareSetValue
|
|
|
9
9
|
from ....handlers import OptionHandlerCtxToPrepareSetValue
|
|
10
10
|
from ....handlers import ConfigurationDataHandler
|
|
11
11
|
|
|
12
|
+
import typing
|
|
13
|
+
|
|
12
14
|
# //////////////////////////////////////////////////////////////////////////////
|
|
13
15
|
# OptionHandlerToPrepareSetValue__Std__Bool
|
|
14
16
|
|
|
@@ -84,7 +86,7 @@ class OptionHandlerToPrepareSetValue__Std__Bool(OptionHandlerToPrepareSetValue):
|
|
|
84
86
|
C_MIN_STR_VALUE_LENGTH = 1
|
|
85
87
|
C_MAX_STR_VALUE_LENGTH = 5
|
|
86
88
|
|
|
87
|
-
sm_Str_False:
|
|
89
|
+
sm_Str_False: typing.List[str] = [
|
|
88
90
|
"of",
|
|
89
91
|
"off",
|
|
90
92
|
"f",
|
|
@@ -97,7 +99,7 @@ class OptionHandlerToPrepareSetValue__Std__Bool(OptionHandlerToPrepareSetValue):
|
|
|
97
99
|
"0",
|
|
98
100
|
]
|
|
99
101
|
|
|
100
|
-
sm_Str_True:
|
|
102
|
+
sm_Str_True: typing.List[str] = [
|
|
101
103
|
"on",
|
|
102
104
|
"t",
|
|
103
105
|
"tr",
|
|
@@ -11,6 +11,8 @@ from ....handlers import ConfigurationDataHandler
|
|
|
11
11
|
|
|
12
12
|
from ....read_utils import ReadUtils
|
|
13
13
|
|
|
14
|
+
import typing
|
|
15
|
+
|
|
14
16
|
# //////////////////////////////////////////////////////////////////////////////
|
|
15
17
|
# OptionHandlerToPrepareSetValue__Std__UniqueStrList
|
|
16
18
|
|
|
@@ -36,9 +38,8 @@ class OptionHandlerToPrepareSetValue__Std__UniqueStrList(
|
|
|
36
38
|
assert type(result) == list
|
|
37
39
|
return result
|
|
38
40
|
elif typeOfOptionValue == list:
|
|
39
|
-
result = list
|
|
40
|
-
|
|
41
|
-
index = set[str]()
|
|
41
|
+
result: typing.List[str] = list()
|
|
42
|
+
index: typing.Set[str] = set()
|
|
42
43
|
|
|
43
44
|
for x in ctx.OptionValue:
|
|
44
45
|
if x is None:
|
|
@@ -165,7 +165,7 @@ class ReadUtils:
|
|
|
165
165
|
return __class__.IsValidSeqCh1(ch)
|
|
166
166
|
|
|
167
167
|
# --------------------------------------------------------------------
|
|
168
|
-
def Unpack_StrList2(source: str) ->
|
|
168
|
+
def Unpack_StrList2(source: str) -> typing.List[str]:
|
|
169
169
|
assert source is not None
|
|
170
170
|
assert type(source) == str
|
|
171
171
|
|
|
@@ -184,8 +184,8 @@ class ReadUtils:
|
|
|
184
184
|
ctx.mode = C_MODE__NONE
|
|
185
185
|
ctx.curValueItem = None
|
|
186
186
|
ctx.dataLength = 0
|
|
187
|
-
ctx.result = list
|
|
188
|
-
ctx.index = set
|
|
187
|
+
ctx.result = list()
|
|
188
|
+
ctx.index = set()
|
|
189
189
|
|
|
190
190
|
i = 0
|
|
191
191
|
length = len(source)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# //////////////////////////////////////////////////////////////////////////////
|
|
2
2
|
# Postgres Pro. PostgreSQL Configuration Python Library.
|
|
3
3
|
|
|
4
|
+
import typing
|
|
4
5
|
|
|
5
6
|
# //////////////////////////////////////////////////////////////////////////////
|
|
6
7
|
# class WriteUtils
|
|
@@ -14,7 +15,8 @@ class WriteUtils:
|
|
|
14
15
|
result = ""
|
|
15
16
|
sep = ""
|
|
16
17
|
|
|
17
|
-
index = set
|
|
18
|
+
index: typing.Set[str] = set()
|
|
19
|
+
assert type(index) == set
|
|
18
20
|
|
|
19
21
|
for x in strList:
|
|
20
22
|
assert x is not None
|
|
@@ -3005,7 +3005,8 @@ class PostgresConfiguration_Base(PostgresConfiguration, PgCfgModel__DataHandler)
|
|
|
3005
3005
|
assert data is not None
|
|
3006
3006
|
assert isinstance(data, PgCfgModel__ObjectData)
|
|
3007
3007
|
|
|
3008
|
-
stack = set
|
|
3008
|
+
stack: typing.Set[PgCfgModel__ObjectData] = set()
|
|
3009
|
+
assert type(stack) == set
|
|
3009
3010
|
|
|
3010
3011
|
ptr = data
|
|
3011
3012
|
while ptr is not self.m_Data:
|
|
@@ -3030,7 +3031,7 @@ class PostgresConfigurationFactory_Base:
|
|
|
3030
3031
|
assert isinstance(objectData, PgCfgModel__ObjectData)
|
|
3031
3032
|
|
|
3032
3033
|
# Build stack
|
|
3033
|
-
stack =
|
|
3034
|
+
stack: typing.List[PostgresConfigurationObject] = []
|
|
3034
3035
|
|
|
3035
3036
|
while True:
|
|
3036
3037
|
stack.append(objectData)
|
|
@@ -3165,7 +3166,7 @@ class PostgresConfigurationReader_Base:
|
|
|
3165
3166
|
assert type(filePath) == str
|
|
3166
3167
|
assert filePath != ""
|
|
3167
3168
|
|
|
3168
|
-
existFileDatas
|
|
3169
|
+
existFileDatas: typing.Dict[str, PgCfgModel__FileData] = dict()
|
|
3169
3170
|
|
|
3170
3171
|
for fileName in cfg.m_Data.m_AllFilesByName.keys():
|
|
3171
3172
|
assert type(fileName) == str
|
|
@@ -3212,7 +3213,7 @@ class PostgresConfigurationReader_Base:
|
|
|
3212
3213
|
assert rootFile.m_FileData.m_LastModifiedTimestamp is None
|
|
3213
3214
|
assert len(rootFile.m_FileData.m_Lines) == 0
|
|
3214
3215
|
|
|
3215
|
-
queuedFileDatas = set
|
|
3216
|
+
queuedFileDatas: typing.Set[PgCfgModel__FileData] = set()
|
|
3216
3217
|
|
|
3217
3218
|
queuedFileDatas.add(rootFile.m_FileData)
|
|
3218
3219
|
|
|
@@ -3302,7 +3303,13 @@ class PostgresConfigurationReader_Base:
|
|
|
3302
3303
|
|
|
3303
3304
|
lineReader = ReadUtils__LineReader()
|
|
3304
3305
|
|
|
3305
|
-
while
|
|
3306
|
+
while True:
|
|
3307
|
+
lineData = fileContent.ReadLine()
|
|
3308
|
+
|
|
3309
|
+
if not lineData:
|
|
3310
|
+
assert lineData is None
|
|
3311
|
+
break
|
|
3312
|
+
|
|
3306
3313
|
assert type(lineData) == str
|
|
3307
3314
|
|
|
3308
3315
|
lineReader.SetData(lineData)
|
|
@@ -3346,7 +3353,15 @@ class PostgresConfigurationReader_Base:
|
|
|
3346
3353
|
sequenceOffset = lineReader.GetColOffset()
|
|
3347
3354
|
sequence = ch
|
|
3348
3355
|
|
|
3349
|
-
while
|
|
3356
|
+
while True:
|
|
3357
|
+
ch = lineReader.ReadSymbol()
|
|
3358
|
+
|
|
3359
|
+
if not ch:
|
|
3360
|
+
assert ch is None
|
|
3361
|
+
break
|
|
3362
|
+
|
|
3363
|
+
assert type(ch) == str
|
|
3364
|
+
|
|
3350
3365
|
if ReadUtils.IsValidSeqCh2(ch):
|
|
3351
3366
|
sequence += ch
|
|
3352
3367
|
continue
|
|
@@ -3387,8 +3402,15 @@ class PostgresConfigurationReader_Base:
|
|
|
3387
3402
|
commentText = ""
|
|
3388
3403
|
commentOffset = lineReader.GetColOffset()
|
|
3389
3404
|
|
|
3390
|
-
|
|
3391
|
-
|
|
3405
|
+
while True:
|
|
3406
|
+
ch = lineReader.ReadSymbol()
|
|
3407
|
+
|
|
3408
|
+
if not ch:
|
|
3409
|
+
assert ch is None
|
|
3410
|
+
break
|
|
3411
|
+
|
|
3412
|
+
assert type(ch) == str
|
|
3413
|
+
|
|
3392
3414
|
if ReadUtils.IsEOL(ch):
|
|
3393
3415
|
break
|
|
3394
3416
|
commentText += ch
|
|
@@ -3699,9 +3721,15 @@ class PostgresConfigurationReader_Base:
|
|
|
3699
3721
|
|
|
3700
3722
|
optionValue = ""
|
|
3701
3723
|
|
|
3702
|
-
|
|
3724
|
+
while True:
|
|
3725
|
+
ch = lineReader.ReadSymbol()
|
|
3726
|
+
|
|
3727
|
+
if not ch:
|
|
3728
|
+
assert ch is None
|
|
3729
|
+
break
|
|
3730
|
+
|
|
3731
|
+
assert type(ch) == str
|
|
3703
3732
|
|
|
3704
|
-
while ch := lineReader.ReadSymbol():
|
|
3705
3733
|
if ch == "#" or ReadUtils.IsEOL(ch):
|
|
3706
3734
|
lineReader.StepBack()
|
|
3707
3735
|
break
|
|
@@ -3757,9 +3785,13 @@ class PostgresConfigurationWriterCtx_Base:
|
|
|
3757
3785
|
|
|
3758
3786
|
self.Cfg = cfg
|
|
3759
3787
|
|
|
3760
|
-
self.AllFiles = list
|
|
3761
|
-
self.NewFiles = list
|
|
3762
|
-
self.UpdFiles = list
|
|
3788
|
+
self.AllFiles = list()
|
|
3789
|
+
self.NewFiles = list()
|
|
3790
|
+
self.UpdFiles = list()
|
|
3791
|
+
|
|
3792
|
+
assert type(self.AllFiles) == list
|
|
3793
|
+
assert type(self.NewFiles) == list
|
|
3794
|
+
assert type(self.UpdFiles) == list
|
|
3763
3795
|
|
|
3764
3796
|
# --------------------------------------------------------------------
|
|
3765
3797
|
def Init(self):
|
|
@@ -3931,7 +3963,7 @@ class PostgresConfigurationWriter_Base:
|
|
|
3931
3963
|
assert fileCtx.FileData.m_Status == PgCfgModel__FileStatus.IS_NEW
|
|
3932
3964
|
assert fileCtx.File is None
|
|
3933
3965
|
|
|
3934
|
-
fileCtx.File = ctx.Cfg.m_Data.OsOps.CreateFile(fileCtx.FileData.m_Path) # raise
|
|
3966
|
+
fileCtx.File = ctx.Cfg.m_Data.OsOps.CreateFile(fileCtx.FileData.m_Path) # raise
|
|
3935
3967
|
|
|
3936
3968
|
assert fileCtx.File is not None
|
|
3937
3969
|
assert isinstance(fileCtx.File, ConfigurationOsFile)
|
|
@@ -6,6 +6,7 @@ from __future__ import annotations
|
|
|
6
6
|
from ...core.raise_error import RaiseError
|
|
7
7
|
|
|
8
8
|
import datetime
|
|
9
|
+
import typing
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
# //////////////////////////////////////////////////////////////////////////////
|
|
@@ -13,7 +14,7 @@ import datetime
|
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
class ConfigurationFileReader:
|
|
16
|
-
def ReadLine(self) -> str:
|
|
17
|
+
def ReadLine(self) -> typing.Optional[str]:
|
|
17
18
|
RaiseError.MethodIsNotImplemented(__class__, "ReadLine")
|
|
18
19
|
|
|
19
20
|
|
|
@@ -8,6 +8,7 @@ from ..abstract import configuration_os_ops as abstract
|
|
|
8
8
|
import os
|
|
9
9
|
import io
|
|
10
10
|
import datetime
|
|
11
|
+
import typing
|
|
11
12
|
|
|
12
13
|
# //////////////////////////////////////////////////////////////////////////////
|
|
13
14
|
# class ConfigurationOsFile
|
|
@@ -49,9 +50,16 @@ class ConfigurationOsFile(abstract.ConfigurationOsFile):
|
|
|
49
50
|
return self.m_file is None
|
|
50
51
|
|
|
51
52
|
# --------------------------------------------------------------------
|
|
52
|
-
def ReadLine(self) -> str:
|
|
53
|
+
def ReadLine(self) -> typing.Optional[str]:
|
|
53
54
|
assert isinstance(self.m_file, io.TextIOWrapper)
|
|
54
|
-
|
|
55
|
+
r = self.m_file.readline()
|
|
56
|
+
assert type(r) == str # noqa: E721
|
|
57
|
+
if not r:
|
|
58
|
+
assert r == ""
|
|
59
|
+
return None
|
|
60
|
+
|
|
61
|
+
assert r != ""
|
|
62
|
+
return r
|
|
55
63
|
|
|
56
64
|
# --------------------------------------------------------------------
|
|
57
65
|
def Overwrite(self, text: str) -> None:
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: testgres.postgres_configuration
|
|
3
|
-
Version: 0.0
|
|
3
|
+
Version: 0.1.0
|
|
4
4
|
Summary: PostgreSQL Configuration Python Library
|
|
5
5
|
Home-page: https://github.com/postgrespro/testgres.pg_conf
|
|
6
6
|
Author: Postgres Professional
|
|
7
|
-
Author-email:
|
|
7
|
+
Author-email: testgres@postgrespro.ru
|
|
8
8
|
License: PostgreSQL
|
|
9
9
|
Keywords: postgresql,postgres,test
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
@@ -2,10 +2,7 @@ README.md
|
|
|
2
2
|
setup.cfg
|
|
3
3
|
setup.py
|
|
4
4
|
src/__init__.py
|
|
5
|
-
src/abstract/__init__.py
|
|
6
|
-
src/abstract/v00/__init__.py
|
|
7
5
|
src/abstract/v00/configuration.py
|
|
8
|
-
src/core/__init__.py
|
|
9
6
|
src/core/bugcheck_error.py
|
|
10
7
|
src/core/controller_utils.py
|
|
11
8
|
src/core/data_verificator.py
|
|
@@ -15,45 +12,30 @@ src/core/model.py
|
|
|
15
12
|
src/core/raise_error.py
|
|
16
13
|
src/core/read_utils.py
|
|
17
14
|
src/core/write_utils.py
|
|
18
|
-
src/core/option/__init__.py
|
|
19
|
-
src/core/option/handlers/__init__.py
|
|
20
|
-
src/core/option/handlers/add/__init__.py
|
|
21
15
|
src/core/option/handlers/add/option_handler_to_add__std.py
|
|
22
|
-
src/core/option/handlers/get_value/__init__.py
|
|
23
16
|
src/core/option/handlers/get_value/option_handler_to_get_value__std__simple.py
|
|
24
17
|
src/core/option/handlers/get_value/option_handler_to_get_value__std__union_list.py
|
|
25
|
-
src/core/option/handlers/prepare_get_value/__init__.py
|
|
26
18
|
src/core/option/handlers/prepare_get_value/option_handler_to_prepare_get_value__std__bool.py
|
|
27
19
|
src/core/option/handlers/prepare_get_value/option_handler_to_prepare_get_value__std__generic.py
|
|
28
20
|
src/core/option/handlers/prepare_get_value/option_handler_to_prepare_get_value__std__int.py
|
|
29
21
|
src/core/option/handlers/prepare_get_value/option_handler_to_prepare_get_value__std__str.py
|
|
30
22
|
src/core/option/handlers/prepare_get_value/option_handler_to_prepare_get_value__std__unique_str_list.py
|
|
31
|
-
src/core/option/handlers/prepare_set_value/__init__.py
|
|
32
23
|
src/core/option/handlers/prepare_set_value/option_handler_to_prepare_set_value__std__bool.py
|
|
33
24
|
src/core/option/handlers/prepare_set_value/option_handler_to_prepare_set_value__std__generic.py
|
|
34
25
|
src/core/option/handlers/prepare_set_value/option_handler_to_prepare_set_value__std__int.py
|
|
35
26
|
src/core/option/handlers/prepare_set_value/option_handler_to_prepare_set_value__std__str.py
|
|
36
27
|
src/core/option/handlers/prepare_set_value/option_handler_to_prepare_set_value__std__unique_str_list.py
|
|
37
|
-
src/core/option/handlers/prepare_set_value_item/__init__.py
|
|
38
28
|
src/core/option/handlers/prepare_set_value_item/option_handler_to_prepare_set_value_item__std__str.py
|
|
39
|
-
src/core/option/handlers/set_value/__init__.py
|
|
40
29
|
src/core/option/handlers/set_value/option_handler_to_set_value__std__simple.py
|
|
41
|
-
src/core/option/handlers/set_value_item/__init__.py
|
|
42
30
|
src/core/option/handlers/set_value_item/option_handler_to_set_value_item__std__unique.py
|
|
43
|
-
src/core/option/handlers/write/__init__.py
|
|
44
31
|
src/core/option/handlers/write/option_handler_to_write__std__bool.py
|
|
45
32
|
src/core/option/handlers/write/option_handler_to_write__std__generic.py
|
|
46
33
|
src/core/option/handlers/write/option_handler_to_write__std__int.py
|
|
47
34
|
src/core/option/handlers/write/option_handler_to_write__std__str.py
|
|
48
35
|
src/core/option/handlers/write/option_handler_to_write__std__unique_str_list.py
|
|
49
|
-
src/implementation/__init__.py
|
|
50
|
-
src/implementation/v00/__init__.py
|
|
51
36
|
src/implementation/v00/configuration_base.py
|
|
52
37
|
src/implementation/v00/configuration_std.py
|
|
53
|
-
src/os/__init__.py
|
|
54
|
-
src/os/abstract/__init__.py
|
|
55
38
|
src/os/abstract/configuration_os_ops.py
|
|
56
|
-
src/os/local/__init__.py
|
|
57
39
|
src/os/local/configuration_os_ops.py
|
|
58
40
|
testgres.postgres_configuration.egg-info/PKG-INFO
|
|
59
41
|
testgres.postgres_configuration.egg-info/SOURCES.txt
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
# Postgres Pro. PostgreSQL Configuration Python Library.
|
|
3
|
-
|
|
4
|
-
# fmt: off
|
|
5
|
-
from .implementation.v00.configuration_std import PostgresConfiguration_Std as PostgresConfiguration
|
|
6
|
-
|
|
7
|
-
from .implementation.v00.configuration_std import PostgresConfigurationReader_Std as PostgresConfigurationReader
|
|
8
|
-
|
|
9
|
-
from .implementation.v00.configuration_std import PostgresConfigurationWriter_Std as PostgresConfigurationWriter
|
|
10
|
-
# fmt: on
|
|
11
|
-
|
|
12
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
__all__ = [
|
|
16
|
-
"PostgresConfiguration",
|
|
17
|
-
"PostgresConfigurationReader",
|
|
18
|
-
"PostgresConfigurationWriter",
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
# Postgres Pro. PostgreSQL Configuration Python Library.
|
|
3
|
-
|
|
4
|
-
# fmt: off
|
|
5
|
-
from .implementation.v00.configuration_std import PostgresConfiguration_Std as PostgresConfiguration
|
|
6
|
-
|
|
7
|
-
from .implementation.v00.configuration_std import PostgresConfigurationReader_Std as PostgresConfigurationReader
|
|
8
|
-
|
|
9
|
-
from .implementation.v00.configuration_std import PostgresConfigurationWriter_Std as PostgresConfigurationWriter
|
|
10
|
-
# fmt: on
|
|
11
|
-
|
|
12
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
__all__ = [
|
|
16
|
-
"PostgresConfiguration",
|
|
17
|
-
"PostgresConfigurationReader",
|
|
18
|
-
"PostgresConfigurationWriter",
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
# Postgres Pro. PostgreSQL Configuration Python Library.
|
|
3
|
-
|
|
4
|
-
# fmt: off
|
|
5
|
-
from .implementation.v00.configuration_std import PostgresConfiguration_Std as PostgresConfiguration
|
|
6
|
-
|
|
7
|
-
from .implementation.v00.configuration_std import PostgresConfigurationReader_Std as PostgresConfigurationReader
|
|
8
|
-
|
|
9
|
-
from .implementation.v00.configuration_std import PostgresConfigurationWriter_Std as PostgresConfigurationWriter
|
|
10
|
-
# fmt: on
|
|
11
|
-
|
|
12
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
__all__ = [
|
|
16
|
-
"PostgresConfiguration",
|
|
17
|
-
"PostgresConfigurationReader",
|
|
18
|
-
"PostgresConfigurationWriter",
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
# Postgres Pro. PostgreSQL Configuration Python Library.
|
|
3
|
-
|
|
4
|
-
# fmt: off
|
|
5
|
-
from .implementation.v00.configuration_std import PostgresConfiguration_Std as PostgresConfiguration
|
|
6
|
-
|
|
7
|
-
from .implementation.v00.configuration_std import PostgresConfigurationReader_Std as PostgresConfigurationReader
|
|
8
|
-
|
|
9
|
-
from .implementation.v00.configuration_std import PostgresConfigurationWriter_Std as PostgresConfigurationWriter
|
|
10
|
-
# fmt: on
|
|
11
|
-
|
|
12
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
__all__ = [
|
|
16
|
-
"PostgresConfiguration",
|
|
17
|
-
"PostgresConfigurationReader",
|
|
18
|
-
"PostgresConfigurationWriter",
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
# Postgres Pro. PostgreSQL Configuration Python Library.
|
|
3
|
-
|
|
4
|
-
# fmt: off
|
|
5
|
-
from .implementation.v00.configuration_std import PostgresConfiguration_Std as PostgresConfiguration
|
|
6
|
-
|
|
7
|
-
from .implementation.v00.configuration_std import PostgresConfigurationReader_Std as PostgresConfigurationReader
|
|
8
|
-
|
|
9
|
-
from .implementation.v00.configuration_std import PostgresConfigurationWriter_Std as PostgresConfigurationWriter
|
|
10
|
-
# fmt: on
|
|
11
|
-
|
|
12
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
__all__ = [
|
|
16
|
-
"PostgresConfiguration",
|
|
17
|
-
"PostgresConfigurationReader",
|
|
18
|
-
"PostgresConfigurationWriter",
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
# Postgres Pro. PostgreSQL Configuration Python Library.
|
|
3
|
-
|
|
4
|
-
# fmt: off
|
|
5
|
-
from .implementation.v00.configuration_std import PostgresConfiguration_Std as PostgresConfiguration
|
|
6
|
-
|
|
7
|
-
from .implementation.v00.configuration_std import PostgresConfigurationReader_Std as PostgresConfigurationReader
|
|
8
|
-
|
|
9
|
-
from .implementation.v00.configuration_std import PostgresConfigurationWriter_Std as PostgresConfigurationWriter
|
|
10
|
-
# fmt: on
|
|
11
|
-
|
|
12
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
__all__ = [
|
|
16
|
-
"PostgresConfiguration",
|
|
17
|
-
"PostgresConfigurationReader",
|
|
18
|
-
"PostgresConfigurationWriter",
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
# Postgres Pro. PostgreSQL Configuration Python Library.
|
|
3
|
-
|
|
4
|
-
# fmt: off
|
|
5
|
-
from .implementation.v00.configuration_std import PostgresConfiguration_Std as PostgresConfiguration
|
|
6
|
-
|
|
7
|
-
from .implementation.v00.configuration_std import PostgresConfigurationReader_Std as PostgresConfigurationReader
|
|
8
|
-
|
|
9
|
-
from .implementation.v00.configuration_std import PostgresConfigurationWriter_Std as PostgresConfigurationWriter
|
|
10
|
-
# fmt: on
|
|
11
|
-
|
|
12
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
__all__ = [
|
|
16
|
-
"PostgresConfiguration",
|
|
17
|
-
"PostgresConfigurationReader",
|
|
18
|
-
"PostgresConfigurationWriter",
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# //////////////////////////////////////////////////////////////////////////////
|
testgres_postgres_configuration-0.0.1/src/core/option/handlers/prepare_get_value/__init__.py
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
# Postgres Pro. PostgreSQL Configuration Python Library.
|
|
3
|
-
|
|
4
|
-
# fmt: off
|
|
5
|
-
from .implementation.v00.configuration_std import PostgresConfiguration_Std as PostgresConfiguration
|
|
6
|
-
|
|
7
|
-
from .implementation.v00.configuration_std import PostgresConfigurationReader_Std as PostgresConfigurationReader
|
|
8
|
-
|
|
9
|
-
from .implementation.v00.configuration_std import PostgresConfigurationWriter_Std as PostgresConfigurationWriter
|
|
10
|
-
# fmt: on
|
|
11
|
-
|
|
12
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
__all__ = [
|
|
16
|
-
"PostgresConfiguration",
|
|
17
|
-
"PostgresConfigurationReader",
|
|
18
|
-
"PostgresConfigurationWriter",
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# //////////////////////////////////////////////////////////////////////////////
|
testgres_postgres_configuration-0.0.1/src/core/option/handlers/prepare_set_value/__init__.py
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
# Postgres Pro. PostgreSQL Configuration Python Library.
|
|
3
|
-
|
|
4
|
-
# fmt: off
|
|
5
|
-
from .implementation.v00.configuration_std import PostgresConfiguration_Std as PostgresConfiguration
|
|
6
|
-
|
|
7
|
-
from .implementation.v00.configuration_std import PostgresConfigurationReader_Std as PostgresConfigurationReader
|
|
8
|
-
|
|
9
|
-
from .implementation.v00.configuration_std import PostgresConfigurationWriter_Std as PostgresConfigurationWriter
|
|
10
|
-
# fmt: on
|
|
11
|
-
|
|
12
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
__all__ = [
|
|
16
|
-
"PostgresConfiguration",
|
|
17
|
-
"PostgresConfigurationReader",
|
|
18
|
-
"PostgresConfigurationWriter",
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# //////////////////////////////////////////////////////////////////////////////
|
testgres_postgres_configuration-0.0.1/src/core/option/handlers/prepare_set_value_item/__init__.py
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
# Postgres Pro. PostgreSQL Configuration Python Library.
|
|
3
|
-
|
|
4
|
-
# fmt: off
|
|
5
|
-
from .implementation.v00.configuration_std import PostgresConfiguration_Std as PostgresConfiguration
|
|
6
|
-
|
|
7
|
-
from .implementation.v00.configuration_std import PostgresConfigurationReader_Std as PostgresConfigurationReader
|
|
8
|
-
|
|
9
|
-
from .implementation.v00.configuration_std import PostgresConfigurationWriter_Std as PostgresConfigurationWriter
|
|
10
|
-
# fmt: on
|
|
11
|
-
|
|
12
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
__all__ = [
|
|
16
|
-
"PostgresConfiguration",
|
|
17
|
-
"PostgresConfigurationReader",
|
|
18
|
-
"PostgresConfigurationWriter",
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
# Postgres Pro. PostgreSQL Configuration Python Library.
|
|
3
|
-
|
|
4
|
-
# fmt: off
|
|
5
|
-
from .implementation.v00.configuration_std import PostgresConfiguration_Std as PostgresConfiguration
|
|
6
|
-
|
|
7
|
-
from .implementation.v00.configuration_std import PostgresConfigurationReader_Std as PostgresConfigurationReader
|
|
8
|
-
|
|
9
|
-
from .implementation.v00.configuration_std import PostgresConfigurationWriter_Std as PostgresConfigurationWriter
|
|
10
|
-
# fmt: on
|
|
11
|
-
|
|
12
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
__all__ = [
|
|
16
|
-
"PostgresConfiguration",
|
|
17
|
-
"PostgresConfigurationReader",
|
|
18
|
-
"PostgresConfigurationWriter",
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
# Postgres Pro. PostgreSQL Configuration Python Library.
|
|
3
|
-
|
|
4
|
-
# fmt: off
|
|
5
|
-
from .implementation.v00.configuration_std import PostgresConfiguration_Std as PostgresConfiguration
|
|
6
|
-
|
|
7
|
-
from .implementation.v00.configuration_std import PostgresConfigurationReader_Std as PostgresConfigurationReader
|
|
8
|
-
|
|
9
|
-
from .implementation.v00.configuration_std import PostgresConfigurationWriter_Std as PostgresConfigurationWriter
|
|
10
|
-
# fmt: on
|
|
11
|
-
|
|
12
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
__all__ = [
|
|
16
|
-
"PostgresConfiguration",
|
|
17
|
-
"PostgresConfigurationReader",
|
|
18
|
-
"PostgresConfigurationWriter",
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
# Postgres Pro. PostgreSQL Configuration Python Library.
|
|
3
|
-
|
|
4
|
-
# fmt: off
|
|
5
|
-
from .implementation.v00.configuration_std import PostgresConfiguration_Std as PostgresConfiguration
|
|
6
|
-
|
|
7
|
-
from .implementation.v00.configuration_std import PostgresConfigurationReader_Std as PostgresConfigurationReader
|
|
8
|
-
|
|
9
|
-
from .implementation.v00.configuration_std import PostgresConfigurationWriter_Std as PostgresConfigurationWriter
|
|
10
|
-
# fmt: on
|
|
11
|
-
|
|
12
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
__all__ = [
|
|
16
|
-
"PostgresConfiguration",
|
|
17
|
-
"PostgresConfigurationReader",
|
|
18
|
-
"PostgresConfigurationWriter",
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
# Postgres Pro. PostgreSQL Configuration Python Library.
|
|
3
|
-
|
|
4
|
-
# fmt: off
|
|
5
|
-
from .implementation.v00.configuration_std import PostgresConfiguration_Std as PostgresConfiguration
|
|
6
|
-
|
|
7
|
-
from .implementation.v00.configuration_std import PostgresConfigurationReader_Std as PostgresConfigurationReader
|
|
8
|
-
|
|
9
|
-
from .implementation.v00.configuration_std import PostgresConfigurationWriter_Std as PostgresConfigurationWriter
|
|
10
|
-
# fmt: on
|
|
11
|
-
|
|
12
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
__all__ = [
|
|
16
|
-
"PostgresConfiguration",
|
|
17
|
-
"PostgresConfigurationReader",
|
|
18
|
-
"PostgresConfigurationWriter",
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
# Postgres Pro. PostgreSQL Configuration Python Library.
|
|
3
|
-
|
|
4
|
-
# fmt: off
|
|
5
|
-
from .implementation.v00.configuration_std import PostgresConfiguration_Std as PostgresConfiguration
|
|
6
|
-
|
|
7
|
-
from .implementation.v00.configuration_std import PostgresConfigurationReader_Std as PostgresConfigurationReader
|
|
8
|
-
|
|
9
|
-
from .implementation.v00.configuration_std import PostgresConfigurationWriter_Std as PostgresConfigurationWriter
|
|
10
|
-
# fmt: on
|
|
11
|
-
|
|
12
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
__all__ = [
|
|
16
|
-
"PostgresConfiguration",
|
|
17
|
-
"PostgresConfigurationReader",
|
|
18
|
-
"PostgresConfigurationWriter",
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
# Postgres Pro. PostgreSQL Configuration Python Library.
|
|
3
|
-
|
|
4
|
-
# fmt: off
|
|
5
|
-
from .implementation.v00.configuration_std import PostgresConfiguration_Std as PostgresConfiguration
|
|
6
|
-
|
|
7
|
-
from .implementation.v00.configuration_std import PostgresConfigurationReader_Std as PostgresConfigurationReader
|
|
8
|
-
|
|
9
|
-
from .implementation.v00.configuration_std import PostgresConfigurationWriter_Std as PostgresConfigurationWriter
|
|
10
|
-
# fmt: on
|
|
11
|
-
|
|
12
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
__all__ = [
|
|
16
|
-
"PostgresConfiguration",
|
|
17
|
-
"PostgresConfigurationReader",
|
|
18
|
-
"PostgresConfigurationWriter",
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
# Postgres Pro. PostgreSQL Configuration Python Library.
|
|
3
|
-
|
|
4
|
-
# fmt: off
|
|
5
|
-
from .implementation.v00.configuration_std import PostgresConfiguration_Std as PostgresConfiguration
|
|
6
|
-
|
|
7
|
-
from .implementation.v00.configuration_std import PostgresConfigurationReader_Std as PostgresConfigurationReader
|
|
8
|
-
|
|
9
|
-
from .implementation.v00.configuration_std import PostgresConfigurationWriter_Std as PostgresConfigurationWriter
|
|
10
|
-
# fmt: on
|
|
11
|
-
|
|
12
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
__all__ = [
|
|
16
|
-
"PostgresConfiguration",
|
|
17
|
-
"PostgresConfigurationReader",
|
|
18
|
-
"PostgresConfigurationWriter",
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
# Postgres Pro. PostgreSQL Configuration Python Library.
|
|
3
|
-
|
|
4
|
-
# fmt: off
|
|
5
|
-
from .implementation.v00.configuration_std import PostgresConfiguration_Std as PostgresConfiguration
|
|
6
|
-
|
|
7
|
-
from .implementation.v00.configuration_std import PostgresConfigurationReader_Std as PostgresConfigurationReader
|
|
8
|
-
|
|
9
|
-
from .implementation.v00.configuration_std import PostgresConfigurationWriter_Std as PostgresConfigurationWriter
|
|
10
|
-
# fmt: on
|
|
11
|
-
|
|
12
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
__all__ = [
|
|
16
|
-
"PostgresConfiguration",
|
|
17
|
-
"PostgresConfigurationReader",
|
|
18
|
-
"PostgresConfigurationWriter",
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# //////////////////////////////////////////////////////////////////////////////
|
|
File without changes
|
{testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{testgres_postgres_configuration-0.0.1 → testgres_postgres_configuration-0.1.0}/src/core/handlers.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|