-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add vega_query * feat: add vega_query tests * feat: add vega_protos * feat: add vega_protos tests * chore: rename vega_python_protos usages * chore: add support for new packages * chore: update dependencies * fix: failing tests
- Loading branch information
Showing
217 changed files
with
41,491 additions
and
321 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,42 @@ | ||
black==24.4.2 ; python_version >= "3.10" and python_version < "3.12" | ||
certifi==2024.6.2 ; python_version >= "3.10" and python_version < "3.12" | ||
cffi==1.16.0 ; python_version >= "3.10" and python_version < "3.12" | ||
charset-normalizer==3.3.2 ; python_version >= "3.10" and python_version < "3.12" | ||
click==8.1.7 ; python_version >= "3.10" and python_version < "3.12" | ||
colorama==0.4.6 ; python_version >= "3.10" and python_version < "3.12" and (sys_platform == "win32" or platform_system == "Windows") | ||
contourpy==1.2.1 ; python_version >= "3.10" and python_version < "3.12" | ||
cycler==0.12.1 ; python_version >= "3.10" and python_version < "3.12" | ||
deprecated==1.2.14 ; python_version >= "3.10" and python_version < "3.12" | ||
docker==7.1.0 ; python_version >= "3.10" and python_version < "3.12" | ||
exceptiongroup==1.2.1 ; python_version >= "3.10" and python_version < "3.11" | ||
fonttools==4.53.0 ; python_version >= "3.10" and python_version < "3.12" | ||
googleapis-common-protos==1.63.1 ; python_version >= "3.10" and python_version < "3.12" | ||
grpcio-tools==1.62.2 ; python_version >= "3.10" and python_version < "3.12" | ||
grpcio==1.64.1 ; python_version >= "3.10" and python_version < "3.12" | ||
idna==3.7 ; python_version >= "3.10" and python_version < "3.12" | ||
inflection==0.5.1 ; python_version >= "3.10" and python_version < "3.12" | ||
iniconfig==2.0.0 ; python_version >= "3.10" and python_version < "3.12" | ||
jinja2==3.1.4 ; python_version >= "3.10" and python_version < "3.12" | ||
kiwisolver==1.4.5 ; python_version >= "3.10" and python_version < "3.12" | ||
markupsafe==2.1.5 ; python_version >= "3.10" and python_version < "3.12" | ||
matplotlib==3.9.0 ; python_version >= "3.10" and python_version < "3.12" | ||
mypy-extensions==1.0.0 ; python_version >= "3.10" and python_version < "3.12" | ||
numpy==1.24.4 ; python_version >= "3.10" and python_version < "3.12" | ||
packaging==24.1 ; python_version >= "3.10" and python_version < "3.12" | ||
pandas==2.2.2 ; python_version >= "3.10" and python_version < "3.12" | ||
pathspec==0.12.1 ; python_version >= "3.10" and python_version < "3.12" | ||
pillow==10.3.0 ; python_version >= "3.10" and python_version < "3.12" | ||
platformdirs==4.2.2 ; python_version >= "3.10" and python_version < "3.12" | ||
plotly==5.22.0 ; python_version >= "3.10" and python_version < "3.12" | ||
pluggy==1.5.0 ; python_version >= "3.10" and python_version < "3.12" | ||
protobuf==4.25.3 ; python_version >= "3.10" and python_version < "3.12" | ||
protoc-gen-openapiv2==0.0.1 ; python_version >= "3.10" and python_version < "3.12" | ||
protofuzz @ git+https://github.com/trailofbits/protofuzz@a4fd0936ae501dba0fc89d3af4ead8ef3aaad1d1 ; python_version >= "3.10" and python_version < "3.12" | ||
psutil==5.9.8 ; python_version >= "3.10" and python_version < "3.12" | ||
pycparser==2.22 ; python_version >= "3.10" and python_version < "3.12" | ||
pynacl==1.5.0 ; python_version >= "3.10" and python_version < "3.12" | ||
pyparsing==3.1.2 ; python_version >= "3.10" and python_version < "3.12" | ||
pytest==7.4.4 ; python_version >= "3.10" and python_version < "3.12" | ||
python-dateutil==2.9.0.post0 ; python_version >= "3.10" and python_version < "3.12" | ||
python-dotenv==1.0.1 ; python_version >= "3.10" and python_version < "3.12" | ||
pytz==2024.1 ; python_version >= "3.10" and python_version < "3.12" | ||
pywin32==306 ; python_version >= "3.10" and python_version < "3.12" and sys_platform == "win32" | ||
pyyaml==6.0.2 ; python_version >= "3.10" and python_version < "3.12" | ||
requests==2.32.3 ; python_version >= "3.10" and python_version < "3.12" | ||
scipy==1.13.1 ; python_version >= "3.10" and python_version < "3.12" | ||
setuptools==70.0.0 ; python_version >= "3.10" and python_version < "3.12" | ||
six==1.16.0 ; python_version >= "3.10" and python_version < "3.12" | ||
tenacity==8.3.0 ; python_version >= "3.10" and python_version < "3.12" | ||
toml==0.10.2 ; python_version >= "3.10" and python_version < "3.12" | ||
tomli==2.0.1 ; python_version >= "3.10" and python_version < "3.11" | ||
typing-extensions==4.12.2 ; python_version >= "3.10" and python_version < "3.11" | ||
tzdata==2024.1 ; python_version >= "3.10" and python_version < "3.12" | ||
urllib3==2.2.1 ; python_version >= "3.10" and python_version < "3.12" | ||
vega-python-protos @ git+https://github.com/vegaprotocol/vega-python-protos@19ccb1c97e5f1d7f2676e89fbb7a814d6172f311 ; python_version >= "3.10" and python_version < "3.12" | ||
websocket-client==1.8.0 ; python_version >= "3.10" and python_version < "3.12" | ||
wrapt==1.16.0 ; python_version >= "3.10" and python_version < "3.12" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import pytest | ||
|
||
import vega_protos as protos | ||
|
||
|
||
@pytest.mark.vega_protos | ||
def test_data_node_attributes(): | ||
protos.data_node.api.v2.trading_data | ||
|
||
|
||
@pytest.mark.vega_protos | ||
def test_vega_attributes(): | ||
protos.vega.assets | ||
protos.vega.chain_events | ||
protos.vega.data_source | ||
protos.vega.governance | ||
protos.vega.markets | ||
protos.vega.oracle | ||
protos.vega.vega |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import yaml | ||
import logging.config | ||
|
||
with open("vega_query/logging.yaml", "r") as file: | ||
yaml_dict = yaml.safe_load(file) | ||
logging.config.dictConfig(yaml_dict) |
Oops, something went wrong.