localstack-py-avro-schema 3.8.2.post1__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.
Files changed (38) hide show
  1. localstack_py_avro_schema-3.8.2.post1/.editorconfig +11 -0
  2. localstack_py_avro_schema-3.8.2.post1/.flake8 +29 -0
  3. localstack_py_avro_schema-3.8.2.post1/.github/workflows/release-package.yml +43 -0
  4. localstack_py_avro_schema-3.8.2.post1/.github/workflows/test-package.yml +47 -0
  5. localstack_py_avro_schema-3.8.2.post1/.gitignore +238 -0
  6. localstack_py_avro_schema-3.8.2.post1/.pre-commit-config.yaml +50 -0
  7. localstack_py_avro_schema-3.8.2.post1/.readthedocs.yaml +20 -0
  8. localstack_py_avro_schema-3.8.2.post1/LICENSE +174 -0
  9. localstack_py_avro_schema-3.8.2.post1/LICENSE_HEADER.txt +10 -0
  10. localstack_py_avro_schema-3.8.2.post1/PKG-INFO +270 -0
  11. localstack_py_avro_schema-3.8.2.post1/README.md +52 -0
  12. localstack_py_avro_schema-3.8.2.post1/docs/conf.py +54 -0
  13. localstack_py_avro_schema-3.8.2.post1/docs/index.rst +30 -0
  14. localstack_py_avro_schema-3.8.2.post1/docs/modules.rst +7 -0
  15. localstack_py_avro_schema-3.8.2.post1/docs/py_avro_schema.rst +6 -0
  16. localstack_py_avro_schema-3.8.2.post1/docs/tutorial.rst +120 -0
  17. localstack_py_avro_schema-3.8.2.post1/docs/types.rst +503 -0
  18. localstack_py_avro_schema-3.8.2.post1/pyproject.toml +128 -0
  19. localstack_py_avro_schema-3.8.2.post1/setup.cfg +4 -0
  20. localstack_py_avro_schema-3.8.2.post1/src/localstack_py_avro_schema.egg-info/PKG-INFO +270 -0
  21. localstack_py_avro_schema-3.8.2.post1/src/localstack_py_avro_schema.egg-info/SOURCES.txt +36 -0
  22. localstack_py_avro_schema-3.8.2.post1/src/localstack_py_avro_schema.egg-info/dependency_links.txt +1 -0
  23. localstack_py_avro_schema-3.8.2.post1/src/localstack_py_avro_schema.egg-info/requires.txt +24 -0
  24. localstack_py_avro_schema-3.8.2.post1/src/localstack_py_avro_schema.egg-info/top_level.txt +1 -0
  25. localstack_py_avro_schema-3.8.2.post1/src/py_avro_schema/__init__.py +77 -0
  26. localstack_py_avro_schema-3.8.2.post1/src/py_avro_schema/_schemas.py +1174 -0
  27. localstack_py_avro_schema-3.8.2.post1/src/py_avro_schema/_testing.py +59 -0
  28. localstack_py_avro_schema-3.8.2.post1/src/py_avro_schema/_typing.py +86 -0
  29. localstack_py_avro_schema-3.8.2.post1/src/py_avro_schema/py.typed +1 -0
  30. localstack_py_avro_schema-3.8.2.post1/tests/test_avro_schema.py +45 -0
  31. localstack_py_avro_schema-3.8.2.post1/tests/test_dataclass.py +841 -0
  32. localstack_py_avro_schema-3.8.2.post1/tests/test_logicals.py +287 -0
  33. localstack_py_avro_schema-3.8.2.post1/tests/test_plain_class.py +98 -0
  34. localstack_py_avro_schema-3.8.2.post1/tests/test_primitives.py +510 -0
  35. localstack_py_avro_schema-3.8.2.post1/tests/test_pydantic.py +663 -0
  36. localstack_py_avro_schema-3.8.2.post1/tests/test_typed_dict.py +61 -0
  37. localstack_py_avro_schema-3.8.2.post1/tests/test_typing.py +86 -0
  38. localstack_py_avro_schema-3.8.2.post1/tox.ini +75 -0
@@ -0,0 +1,11 @@
1
+ # https://editorconfig.org/
2
+
3
+ root = true
4
+
5
+ [*]
6
+ # Config for all files
7
+
8
+ insert_final_newline = true
9
+ trim_trailing_whitespace = true
10
+ end_of_line = lf
11
+ charset = utf-8
@@ -0,0 +1,29 @@
1
+ # Copyright 2022 J.P. Morgan Chase & Co.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
4
+ # the License. You may obtain a copy of the License at
5
+ #
6
+ # http://www.apache.org/licenses/LICENSE-2.0
7
+ #
8
+ # Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
9
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
10
+ # specific language governing permissions and limitations under the License.
11
+
12
+
13
+ [flake8]
14
+ # Flake 8 linting configuration, not supported in pyproject.toml
15
+
16
+ ignore = E203,W503,E701
17
+ max-line-length = 120
18
+ exclude =
19
+ .svn,
20
+ CVS,
21
+ .bzr,
22
+ .hg,
23
+ .git,
24
+ __pycache__,
25
+ .tox
26
+ .venv/
27
+ venv/
28
+ .eggs/
29
+ build/
@@ -0,0 +1,43 @@
1
+ # Copyright 2022 J.P. Morgan Chase & Co.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
4
+ # the License. You may obtain a copy of the License at
5
+ #
6
+ # http://www.apache.org/licenses/LICENSE-2.0
7
+ #
8
+ # Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
9
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
10
+ # specific language governing permissions and limitations under the License.
11
+
12
+ # This workflow will upload a Python Package using Twine when a release is created
13
+ # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
14
+
15
+ name: Upload Python Package to PyPI
16
+
17
+ on:
18
+ release:
19
+ types:
20
+ - published
21
+
22
+ jobs:
23
+ deploy:
24
+ runs-on: ubuntu-latest
25
+
26
+ steps:
27
+ - uses: actions/checkout@v3
28
+ - name: Set up Python
29
+ uses: actions/setup-python@v4
30
+ with:
31
+ python-version: '3.x'
32
+ - name: Install dependencies
33
+ run: |
34
+ python -m pip install --upgrade pip
35
+ python -m pip install build
36
+ - name: Build package
37
+ run: python -m build
38
+ - name: Publish package
39
+ uses: pypa/gh-action-pypi-publish@release/v1
40
+ with:
41
+ user: __token__
42
+ password: ${{ secrets.PYPI_API_JPMC_OSS }}
43
+ print_hash: true
@@ -0,0 +1,47 @@
1
+ # Copyright 2022 J.P. Morgan Chase & Co.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
4
+ # the License. You may obtain a copy of the License at
5
+ #
6
+ # http://www.apache.org/licenses/LICENSE-2.0
7
+ #
8
+ # Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
9
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
10
+ # specific language governing permissions and limitations under the License.
11
+
12
+ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
13
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
14
+
15
+ name: Test Python package with Tox
16
+
17
+ on:
18
+ push:
19
+ pull_request:
20
+ branches:
21
+ - main
22
+
23
+ jobs:
24
+ build:
25
+ runs-on: ubuntu-latest
26
+ strategy:
27
+ fail-fast: false
28
+ matrix:
29
+ python-version:
30
+ - '3.9'
31
+ - '3.10'
32
+ - '3.11'
33
+ - '3.12'
34
+ - '3.13-dev'
35
+
36
+ steps:
37
+ - uses: actions/checkout@v4
38
+ - name: Set up Python ${{ matrix.python-version }}
39
+ uses: actions/setup-python@v5
40
+ with:
41
+ python-version: ${{ matrix.python-version }}
42
+ - name: Install dependencies
43
+ run: |
44
+ python -m pip install --upgrade pip
45
+ python -m pip install tox tox-gh-actions
46
+ - name: Run Tox commands
47
+ run: python -m tox
@@ -0,0 +1,238 @@
1
+ # Compiled class file
2
+ *.class
3
+
4
+ # Log file
5
+ *.log
6
+
7
+ # BlueJ files
8
+ *.ctxt
9
+
10
+ # Mobile Tools for Java (J2ME)
11
+ .mtj.tmp/
12
+
13
+ # Package Files #
14
+ *.jar
15
+ *.war
16
+ *.nar
17
+ *.ear
18
+ *.zip
19
+ *.tar.gz
20
+ *.rar
21
+
22
+ # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
23
+ hs_err_pid*
24
+ ### JetBrains template
25
+ # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
26
+ # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
27
+
28
+ .idea
29
+
30
+ # User-specific stuff
31
+ .idea/**/workspace.xml
32
+ .idea/**/tasks.xml
33
+ .idea/**/usage.statistics.xml
34
+ .idea/**/dictionaries
35
+ .idea/**/shelf
36
+
37
+ # Generated files
38
+ .idea/**/contentModel.xml
39
+
40
+ # Sensitive or high-churn files
41
+ .idea/**/dataSources/
42
+ .idea/**/dataSources.ids
43
+ .idea/**/dataSources.local.xml
44
+ .idea/**/sqlDataSources.xml
45
+ .idea/**/dynamic.xml
46
+ .idea/**/uiDesigner.xml
47
+ .idea/**/dbnavigator.xml
48
+
49
+ # Gradle
50
+ .idea/**/gradle.xml
51
+ .idea/**/libraries
52
+
53
+ # Gradle and Maven with auto-import
54
+ # When using Gradle or Maven with auto-import, you should exclude module files,
55
+ # since they will be recreated, and may cause churn. Uncomment if using
56
+ # auto-import.
57
+ # .idea/artifacts
58
+ # .idea/compiler.xml
59
+ # .idea/jarRepositories.xml
60
+ # .idea/modules.xml
61
+ # .idea/*.iml
62
+ # .idea/modules
63
+ *.iml
64
+ # *.ipr
65
+
66
+ # CMake
67
+ cmake-build-*/
68
+
69
+ # Mongo Explorer plugin
70
+ .idea/**/mongoSettings.xml
71
+
72
+ # File-based project format
73
+ *.iws
74
+
75
+ # IntelliJ
76
+ out/
77
+
78
+ # mpeltonen/sbt-idea plugin
79
+ .idea_modules/
80
+
81
+ # JIRA plugin
82
+ atlassian-ide-plugin.xml
83
+
84
+ # Cursive Clojure plugin
85
+ .idea/replstate.xml
86
+
87
+ # Crashlytics plugin (for Android Studio and IntelliJ)
88
+ com_crashlytics_export_strings.xml
89
+ crashlytics.properties
90
+ crashlytics-build.properties
91
+ fabric.properties
92
+
93
+ # Editor-based Rest Client
94
+ .idea/httpRequests
95
+
96
+ # Android studio 3.1+ serialized cache file
97
+ .idea/caches/build_file_checksums.ser
98
+
99
+ ### Python template
100
+ # Byte-compiled / optimized / DLL files
101
+ __pycache__/
102
+ *.py[cod]
103
+ *$py.class
104
+
105
+ # C extensions
106
+ *.so
107
+
108
+ # Distribution / packaging
109
+ .Python
110
+ build/
111
+ develop-eggs/
112
+ dist/
113
+ downloads/
114
+ eggs/
115
+ .eggs/
116
+ lib/
117
+ lib64/
118
+ parts/
119
+ sdist/
120
+ var/
121
+ wheels/
122
+ share/python-wheels/
123
+ *.egg-info/
124
+ .installed.cfg
125
+ *.egg
126
+ MANIFEST
127
+
128
+ # PyInstaller
129
+ # Usually these files are written by a python script from a template
130
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
131
+ *.manifest
132
+ *.spec
133
+
134
+ # Installer logs
135
+ pip-log.txt
136
+ pip-delete-this-directory.txt
137
+
138
+ # Unit test / coverage reports
139
+ htmlcov/
140
+ .tox/
141
+ .nox/
142
+ .coverage
143
+ .coverage.*
144
+ .cache
145
+ nosetests.xml
146
+ coverage.xml
147
+ *.cover
148
+ *.py,cover
149
+ .hypothesis/
150
+ .pytest_cache/
151
+ cover/
152
+
153
+ # Translations
154
+ *.mo
155
+ *.pot
156
+
157
+ # Django stuff:
158
+ *.log
159
+ local_settings.py
160
+ db.sqlite3
161
+ db.sqlite3-journal
162
+
163
+ # Flask stuff:
164
+ instance/
165
+ .webassets-cache
166
+
167
+ # Scrapy stuff:
168
+ .scrapy
169
+
170
+ # Sphinx documentation
171
+ docs/_build/
172
+
173
+ # PyBuilder
174
+ .pybuilder/
175
+ target/
176
+
177
+ # Jupyter Notebook
178
+ .ipynb_checkpoints
179
+
180
+ # IPython
181
+ profile_default/
182
+ ipython_config.py
183
+
184
+ # pyenv
185
+ # For a library or package, you might want to ignore these files since the code is
186
+ # intended to run in multiple environments; otherwise, check them in:
187
+ # .python-version
188
+
189
+ # pipenv
190
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
191
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
192
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
193
+ # install all needed dependencies.
194
+ #Pipfile.lock
195
+
196
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
197
+ __pypackages__/
198
+
199
+ # Celery stuff
200
+ celerybeat-schedule
201
+ celerybeat.pid
202
+
203
+ # SageMath parsed files
204
+ *.sage.py
205
+
206
+ # Environments
207
+ .env
208
+ .venv
209
+ env/
210
+ venv/
211
+ ENV/
212
+ env.bak/
213
+ venv.bak/
214
+
215
+ # Spyder project settings
216
+ .spyderproject
217
+ .spyproject
218
+
219
+ # Rope project settings
220
+ .ropeproject
221
+
222
+ # mkdocs documentation
223
+ /site
224
+
225
+ # mypy
226
+ .mypy_cache/
227
+ .dmypy.json
228
+ dmypy.json
229
+
230
+ # Pyre type checker
231
+ .pyre/
232
+
233
+ # pytype static type analyzer
234
+ .pytype/
235
+
236
+ # Cython debug symbols
237
+ cython_debug/
238
+
@@ -0,0 +1,50 @@
1
+ # Copyright 2022 J.P. Morgan Chase & Co.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
4
+ # the License. You may obtain a copy of the License at
5
+ #
6
+ # http://www.apache.org/licenses/LICENSE-2.0
7
+ #
8
+ # Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
9
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
10
+ # specific language governing permissions and limitations under the License.
11
+
12
+ # pre-commit Git hook script configuration
13
+ #
14
+ # See: https://pre-commit.com/
15
+
16
+ repos:
17
+ - repo: https://github.com/psf/black
18
+ rev: 24.8.0
19
+ hooks:
20
+ - # Format code
21
+ id: black
22
+ - repo: https://github.com/PyCQA/flake8
23
+ rev: 7.1.1
24
+ hooks:
25
+ - # Apply linting rules
26
+ id: flake8
27
+ - repo: https://github.com/econchick/interrogate
28
+ rev: 1.7.0
29
+ hooks:
30
+ - # Enforce documentation
31
+ id: interrogate
32
+ exclude: ^tests
33
+ - repo: https://github.com/PyCQA/isort
34
+ rev: 5.13.2
35
+ hooks:
36
+ - # Sort imports
37
+ id: isort
38
+ - repo: https://github.com/Lucas-C/pre-commit-hooks
39
+ rev: v1.5.5
40
+ hooks:
41
+ - # Insert an OSS license header to all relevant files
42
+ id: insert-license
43
+ types_or:
44
+ - ini
45
+ - python
46
+ - toml
47
+ - yaml
48
+ args:
49
+ - --license-filepath
50
+ - LICENSE_HEADER.txt
@@ -0,0 +1,20 @@
1
+ # Read the Docs configuration file
2
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3
+
4
+ version: 2
5
+
6
+ build:
7
+ os: ubuntu-22.04
8
+ tools:
9
+ python: "3.10"
10
+
11
+ sphinx:
12
+ configuration: docs/conf.py
13
+ fail_on_warning: true # https://docs.readthedocs.io/en/stable/tutorial/index.html#making-warnings-more-visible
14
+
15
+ python:
16
+ install:
17
+ - method: pip
18
+ path: .
19
+ extra_requirements:
20
+ - docs
@@ -0,0 +1,174 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
@@ -0,0 +1,10 @@
1
+ Copyright 2022 J.P. Morgan Chase & Co.
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
4
+ the License. You may obtain a copy of the License at
5
+
6
+ http://www.apache.org/licenses/LICENSE-2.0
7
+
8
+ Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
9
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
10
+ specific language governing permissions and limitations under the License.