File tree Expand file tree Collapse file tree 6 files changed +120
-21
lines changed
src/llama_index_cloud_sql_pg Expand file tree Collapse file tree 6 files changed +120
-21
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
-
16
15
# Presubmit test that ensures that source files contain valid license headers
17
16
# https://github.com/googleapis/repo-automation-bots/tree/main/packages/header-checker-lint
18
17
# Install: https://github.com/apps/license-header-lint-gcf
19
18
20
19
allowedCopyrightHolders :
21
- - ' Google LLC'
20
+ - " Google LLC"
22
21
allowedLicenses :
23
- - ' Apache-2.0'
22
+ - " Apache-2.0"
24
23
sourceFileExtensions :
25
- - ' yaml'
26
- - ' yml'
27
- - ' sh'
28
- - ' ts'
29
- - ' js'
30
- - ' java'
31
- - ' py'
32
- - ' html'
33
- - ' txt'
34
- - ' Dockerfile'
35
- - ' go'
36
- - ' tf'
37
- - ' proto'
24
+ - " yaml"
25
+ - " yml"
26
+ - " sh"
27
+ - " proto"
28
+ - " Dockerfile"
29
+ - " py"
30
+ - " text"
31
+ ignoreFiles :
32
+ - " .github/blunderbuss.yml"
33
+ - " .github/release-please.yml"
34
+ - " .github/release-trigger.yml"
35
+ - " .github/header-checker-lint.yml"
36
+ - " .github/sync-repo-settings.yaml"
37
+ - " .github/workflows/docs.yml"
38
+ - " .kokoro/**"
39
+ - " **/requirements.txt"
40
+ - " **/requirements*.txt"
Original file line number Diff line number Diff line change @@ -26,10 +26,11 @@ local.properties
26
26
.env
27
27
.venv
28
28
env /
29
- venv /
29
+ venv * /
30
30
ENV /
31
31
env.bak /
32
32
venv.bak /
33
+ .python-version
33
34
34
35
# Local .terraform directories
35
36
** /.terraform /*
@@ -43,11 +44,47 @@ crash.log
43
44
crash. * .log
44
45
45
46
# Exclude all .tfvars files, which are likely to contain sensitive data, such as
46
- # password, private keys, and other secrets. These should not be part of version
47
- # control as they are data points which are potentially sensitive and subject
47
+ # password, private keys, and other secrets. These should not be part of version
48
+ # control as they are data points which are potentially sensitive and subject
48
49
# to change depending on the environment.
49
50
* .tfvars
50
51
* .tfvars.json
51
52
52
- # Language Specific
53
- # ...
53
+ # PY Language Specific
54
+ * .egg
55
+ * .egg-info
56
+ dist
57
+ build
58
+ eggs
59
+ .eggs
60
+ parts
61
+ bin
62
+ var
63
+ sdist
64
+ develop-eggs
65
+ .installed.cfg
66
+ lib
67
+ lib64
68
+ __pycache__
69
+
70
+
71
+ # Installer logs
72
+ pip-log.txt
73
+
74
+ # Unit test / coverage reports
75
+ .coverage
76
+ .nox
77
+ .cache
78
+ .pytest_cache
79
+
80
+
81
+ # Test logs
82
+ coverage.xml
83
+ * sponge_log.xml
84
+
85
+ # System test environment variables.
86
+ system_tests /local_test_setup
87
+
88
+ # Make sure a generated file isn't accidentally committed.
89
+ pylintrc
90
+ pylintrc.test
Original file line number Diff line number Diff line change
1
+ cloud-sql-python-connector [asyncpg ]== 1.12.1
2
+ llama-index-core == 0.12.0
3
+ pgvector == 0.3.6
4
+ SQLAlchemy [asyncio ]== 2.0.36
Original file line number Diff line number Diff line change
1
+ # Copyright 2024 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ _all = [
16
+ "__version__" ,
17
+ ]
Original file line number Diff line number Diff line change
1
+ # Copyright 2024 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ __version__ = "0.1.0"
Original file line number Diff line number Diff line change
1
+ # Copyright 2024 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ import pytest
16
+ import pytest_asyncio
17
+
18
+
19
+ @pytest .mark .asyncio
20
+ class TestEngine :
21
+ async def test_method (self ):
22
+ # TODO: implement tests
23
+ assert 0 == 0
You can’t perform that action at this time.
0 commit comments