-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: refactor SDK types #129
Merged
Merged
Conversation
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
- removed autoscale_volume - wip refacto fetchers
- add doc strings - remove TransactionMixin - remove cron jobs in stagecoach - update python version to use `match` - PragmaClient ABC class - ExecutionConfig type
EvolveArt
added a commit
that referenced
this pull request
Jul 8, 2024
commit 3f4fc03 Author: 0xevolve <[email protected]> Date: Mon Jul 8 16:27:41 2024 +0200 docs: fix links commit 2ad0580 Author: akhercha <[email protected]> Date: Mon Jul 8 16:16:08 2024 +0200 next: Removed useless TODO commit 8b68c6c Author: akhercha <[email protected]> Date: Mon Jul 8 16:12:31 2024 +0200 next: Pp error commit 56d1b5a Author: 0xevolve <[email protected]> Date: Mon Jul 8 16:04:19 2024 +0200 docs: finish quickstart commit d9ac234 Author: akhercha <[email protected]> Date: Mon Jul 8 16:03:45 2024 +0200 next: Price pusher update + utils fixed commit 87a8077 Author: akhercha <[email protected]> Date: Mon Jul 8 13:21:04 2024 +0200 next: Documentation commit eae202e Author: akhercha <[email protected]> Date: Mon Jul 8 13:07:48 2024 +0200 next: Updated CONTRIBUTING.md documentation commit 0630dd6 Author: akhercha <[email protected]> Date: Sun Jul 7 19:54:18 2024 +0200 next: price pusher mypy hack commit ca4cb68 Author: akhercha <[email protected]> Date: Sun Jul 7 19:49:32 2024 +0200 next: Fixed tests commit 34467a3 Author: akhercha <[email protected]> Date: Sun Jul 7 17:35:48 2024 +0200 next: commit 2112e59 Author: akhercha <[email protected]> Date: Sun Jul 7 17:19:37 2024 +0200 next: commit 7d901bc Author: akhercha <[email protected]> Date: Sun Jul 7 15:07:25 2024 +0200 next: price pusher progress commit e90c204 Author: akhercha <[email protected]> Date: Sun Jul 7 12:50:33 2024 +0200 next: Utils linting commit d37edb6 Author: akhercha <[email protected]> Date: Sun Jul 7 12:48:31 2024 +0200 next: test all for vrf listener commit 819908a Author: akhercha <[email protected]> Date: Sun Jul 7 12:47:05 2024 +0200 next: Fixed install commit c8d0cbb Author: akhercha <[email protected]> Date: Sun Jul 7 12:44:03 2024 +0200 next: VRF testing commit 4e781a3 Author: 0xevolve <[email protected]> Date: Sun Jul 7 00:51:03 2024 +0200 docs: quickstart fetcher client commit 1a9d389 Author: 0xevolve <[email protected]> Date: Sat Jul 6 17:12:25 2024 +0200 docs: add some stuff commit 298b664 Author: azurwastaken <[email protected]> Date: Sat Jul 6 16:36:44 2024 +0200 moved sdk logger into another file and refactored logging commit 759fdd7 Author: azurwastaken <[email protected]> Date: Sat Jul 6 16:28:05 2024 +0200 Refacto logging for price pusher commit 271fb0b Author: azurwastaken <[email protected]> Date: Sat Jul 6 15:57:48 2024 +0200 removed useless logs and changed print to logs commit 311088b Author: azurwastaken <[email protected]> Date: Sat Jul 6 15:07:03 2024 +0200 fix loggers and binance future fetcher commit 5593d28 Author: azurwastaken <[email protected]> Date: Sat Jul 6 18:25:30 2024 +0800 Next pp add expiry filter (#137) * add again future * added get_future_entry * updated supported asset * Future retrieving and pushing work * pp finished maybe need some cleaning * on a rien vu * on a rien vu * fixed price pusher commit 075d358 Author: akhercha <[email protected]> Date: Sat Jul 6 12:20:48 2024 +0200 next: Ci commit 90c32d1 Author: 0xevolve <[email protected]> Date: Sat Jul 6 12:09:48 2024 +0200 Update pyproject.toml commit 2a4bae4 Author: 0xevolve <[email protected]> Date: Sat Jul 6 11:21:31 2024 +0200 Update checks.yml commit e6dbbc0 Author: 0xevolve <[email protected]> Date: Sat Jul 6 11:17:27 2024 +0200 ci: build cairo contracts commit df227f8 Author: 0xevolve <[email protected]> Date: Sat Jul 6 03:16:11 2024 +0200 ci: add rust cache commit 8674384 Author: 0xevolve <[email protected]> Date: Sat Jul 6 03:08:00 2024 +0200 ci: starknet-devnet commit 18948ef Author: 0xevolve <[email protected]> Date: Sat Jul 6 03:04:51 2024 +0200 fix: price pusher tests commit 4386c29 Author: 0xevolve <[email protected]> Date: Sat Jul 6 02:34:06 2024 +0200 Update checks.yml commit 57526af Author: 0xevolve <[email protected]> Date: Sat Jul 6 02:32:44 2024 +0200 Update pyproject.toml commit f3fcaa8 Author: 0xevolve <[email protected]> Date: Sat Jul 6 02:31:11 2024 +0200 Update Dockerfile commit c0166e4 Author: 0xevolve <[email protected]> Date: Sat Jul 6 02:28:56 2024 +0200 fix ci commit 4577bf7 Author: 0xevolve <[email protected]> Date: Sat Jul 6 02:25:09 2024 +0200 bump version commit d8d8c7e Author: 0xevolve <[email protected]> Date: Sat Jul 6 02:24:42 2024 +0200 fix: mypy commit 9756703 Author: akhercha <[email protected]> Date: Sat Jul 6 02:11:26 2024 +0200 next: mypy :) commit 651a998 Author: akhercha <[email protected]> Date: Fri Jul 5 19:56:57 2024 +0200 next: New commit 90ee846 Author: akhercha <[email protected]> Date: Fri Jul 5 19:54:31 2024 +0200 next: fixed utils commit 7137847 Author: akhercha <[email protected]> Date: Fri Jul 5 19:53:36 2024 +0200 next: commit 87e9314 Author: akhercha <[email protected]> Date: Fri Jul 5 19:49:50 2024 +0200 next: commit 2d8ff8a Author: akhercha <[email protected]> Date: Fri Jul 5 19:46:32 2024 +0200 next: new ci commit 8b37e70 Author: 0xevolve <[email protected]> Date: Fri Jul 5 19:40:11 2024 +0200 fix: poetry locks commit 3b4c159 Author: 0xevolve <[email protected]> Date: Fri Jul 5 19:07:31 2024 +0200 feat: all tests fixed and refacto minor stuff commit 8ea98ae Author: 0xevolve <[email protected]> Date: Fri Jul 5 17:25:39 2024 +0200 fix: mypy commit d8114b8 Author: akhercha <[email protected]> Date: Fri Jul 5 16:13:28 2024 +0200 next: Configuration mypy commit c5b5058 Author: 0xevolve <[email protected]> Date: Fri Jul 5 16:13:10 2024 +0200 fix: mypy fetchers commit ffb0937 Author: 0xevolve <[email protected]> Date: Fri Jul 5 15:31:18 2024 +0200 fix: move mypy commit afbdce2 Author: akhercha <[email protected]> Date: Fri Jul 5 14:52:23 2024 +0200 next: Circular imports commit 484db0b Author: akhercha <[email protected]> Date: Fri Jul 5 13:39:21 2024 +0200 next: Refactoring commit 1f6bb57 Author: akhercha <[email protected]> Date: Fri Jul 5 13:16:44 2024 +0200 next: Logger + CLI error commit 5f92a05 Author: mcaseaux <[email protected]> Date: Fri Jul 5 13:12:14 2024 +0200 removed useless _ci in test names commit 1360bad Merge: 7a0ef6b b6b434b Author: adel <[email protected]> Date: Fri Jul 5 13:10:05 2024 +0200 Merge pull request #135 from astraly-labs/fix_test Index Aggregator tests commit b6b434b Author: mcaseaux <[email protected]> Date: Fri Jul 5 13:09:09 2024 +0200 fix lint commit 7a0ef6b Author: akhercha <[email protected]> Date: Fri Jul 5 13:08:01 2024 +0200 next: commit e20e544 Author: mcaseaux <[email protected]> Date: Fri Jul 5 12:59:48 2024 +0200 fixing test commit 6958232 Author: akhercha <[email protected]> Date: Fri Jul 5 12:54:50 2024 +0200 next: Pragma Utils commit 0fb3521 Author: mcaseaux <[email protected]> Date: Fri Jul 5 12:22:30 2024 +0200 deleted warning commit 0dc3b0b Author: mcaseaux <[email protected]> Date: Fri Jul 5 12:08:43 2024 +0200 quick refacto commit 53b117f Author: mcaseaux <[email protected]> Date: Fri Jul 5 12:01:42 2024 +0200 removed index fetcher and moved all other struct to another file commit 68481d9 Author: mcaseaux <[email protected]> Date: Fri Jul 5 11:58:05 2024 +0200 fix typo commit f34420c Author: akhercha <[email protected]> Date: Fri Jul 5 11:48:16 2024 +0200 next: Mypyp commit 7fca477 Author: akhercha <[email protected]> Date: Fri Jul 5 11:41:12 2024 +0200 next: fixed shits commit fab0db2 Author: akhercha <[email protected]> Date: Fri Jul 5 11:36:06 2024 +0200 next: restored binance? commit 840c5bc Author: mcaseaux <[email protected]> Date: Fri Jul 5 11:33:45 2024 +0200 added unit test to pyproject commit 64351bf Author: akhercha <[email protected]> Date: Fri Jul 5 11:31:30 2024 +0200 next: Refactoring for mypy.... commit 20f404f Author: akhercha <[email protected]> Date: Fri Jul 5 02:53:53 2024 +0200 next: Mypy progress commit 1398f3b Author: akhercha <[email protected]> Date: Fri Jul 5 02:27:23 2024 +0200 next: Pair mypy commit c73940c Author: 0xevolve <[email protected]> Date: Fri Jul 5 02:25:38 2024 +0200 fix: remove pydantic dataclass for onchain types commit de06e25 Author: akhercha <[email protected]> Date: Fri Jul 5 02:11:00 2024 +0200 next: Mypy fixes one commit b1ece0a Author: 0xevolve <[email protected]> Date: Fri Jul 5 02:02:10 2024 +0200 feat: summary stats mixin commit 3b0b3af Author: akhercha <[email protected]> Date: Fri Jul 5 00:57:35 2024 +0200 next: Refactored commit 40d4b99 Author: akhercha <[email protected]> Date: Fri Jul 5 00:12:08 2024 +0200 next: Initial documentation commit c2d959c Author: 0xevolve <[email protected]> Date: Thu Jul 4 17:25:37 2024 +0200 feat: cleanup commit 66d4360 Author: akhercha <[email protected]> Date: Thu Jul 4 16:52:55 2024 +0200 next: Fixed wrong imports commit 0468a0a Author: 0xevolve <[email protected]> Date: Thu Jul 4 16:47:13 2024 +0200 docs: hop handler docstring commit b8de02f Author: azurwastaken <[email protected]> Date: Thu Jul 4 22:46:19 2024 +0800 Next fix test ci utils (#134) * fix circular import * gg commit 14ede4a Author: 0xevolve <[email protected]> Date: Thu Jul 4 16:18:44 2024 +0200 feat: update test client works commit 2b2ebc5 Author: akhercha <[email protected]> Date: Thu Jul 4 15:37:33 2024 +0200 next: README commit 9370b45 Author: akhercha <[email protected]> Date: Thu Jul 4 15:26:27 2024 +0200 next: commit 426c842 Author: akhercha <[email protected]> Date: Thu Jul 4 15:25:04 2024 +0200 next: Cleaning files commit e066862 Author: akhercha <[email protected]> Date: Thu Jul 4 15:02:33 2024 +0200 next: Removed forked client commit 62ab95d Author: akhercha <[email protected]> Date: Thu Jul 4 14:58:26 2024 +0200 next: api_client_test OK commit 21c5fce Author: akhercha <[email protected]> Date: Thu Jul 4 14:40:16 2024 +0200 next: Cleaning commit ea7297d Author: akhercha <[email protected]> Date: Thu Jul 4 14:30:28 2024 +0200 next: Refactoring commit be3003d Author: akhercha <[email protected]> Date: Thu Jul 4 13:16:36 2024 +0200 next: Fixed VRF tests commit 8a62b38 Author: azurwastaken <[email protected]> Date: Thu Jul 4 19:01:23 2024 +0800 Next pp add future endpoint (#133) * its working boyz * remove log * fix lint commit d1a75e1 Author: 0xevolve <[email protected]> Date: Thu Jul 4 12:31:34 2024 +0200 feat: all fetcher tests passsss commit b881f9e Author: 0xevolve <[email protected]> Date: Thu Jul 4 02:51:18 2024 +0200 fix: linters commit b4e8ef6 Author: 0xevolve <[email protected]> Date: Thu Jul 4 02:38:25 2024 +0200 fix: deps commit d0ff21d Author: 0xevolve <[email protected]> Date: Thu Jul 4 02:32:54 2024 +0200 fix: price-pusher (#132) * pp: refacto started * working spot * fix: revert some changes * fix: fmt --------- Co-authored-by: mcaseaux <[email protected]> commit 402964e Author: akhercha <[email protected]> Date: Thu Jul 4 02:32:10 2024 +0200 next: VRF tests in progress commit dfb29b8 Author: 0xevolve <[email protected]> Date: Wed Jul 3 21:27:23 2024 +0200 feat: refacto fetchers tests - Adds `HopHandler` - Split fetchers tests in multiple files - Fixed fetcher tests - Fixed publisher tests commit 8cb64db Merge: 5706416 ad675c9 Author: 0xevolve <[email protected]> Date: Wed Jul 3 13:54:03 2024 +0200 Merge branch 'next' of https://github.com/Astraly-Labs/pragma-sdk into next commit 5706416 Author: 0xevolve <[email protected]> Date: Wed Jul 3 13:53:49 2024 +0200 fix: typo commit ad675c9 Author: 0xevolve <[email protected]> Date: Wed Jul 3 13:20:26 2024 +0200 feat(sdk): tests refactoring (#130) * feat(wip): refacto tests * feat: fixinn testss * feat: client test passsss * Update api_client_test.py commit 6d8b918 Author: mcaseaux <[email protected]> Date: Wed Jul 3 12:50:29 2024 +0200 fix some mypy commit 6c2a2a0 Author: akhercha <[email protected]> Date: Tue Jul 2 16:47:13 2024 +0200 next: Big reorg of the structure commit 44c77bc Author: 0xevolve <[email protected]> Date: Tue Jul 2 13:21:34 2024 +0200 fix: poetry deps commit 542d2cb Author: 0xevolve <[email protected]> Date: Tue Jul 2 12:38:01 2024 +0200 fix: pydantic dataclasses commit d719009 Author: 0xevolve <[email protected]> Date: Tue Jul 2 12:36:39 2024 +0200 chore: refacto organization commit 79c7a43 Author: 0xevolve <[email protected]> Date: Tue Jul 2 10:54:27 2024 +0200 fix: add more doc and typing commit 1f7e24c Author: 0xevolve <[email protected]> Date: Tue Jul 2 01:33:10 2024 +0200 feat: refacto randomness mixin commit 3487641 Author: 0xevolve <[email protected]> Date: Mon Jul 1 20:30:58 2024 +0200 fix: types commit 97acbaa Author: 0xevolve <[email protected]> Date: Mon Jul 1 10:42:35 2024 +0200 feat: refactor SDK types (#129) * feat(price-pusher): unique items method * feat(wip): wip refactor * fix: rename FetcherInterfaceT * feat(wip): refactor - removed autoscale_volume - wip refacto fetchers * fix: fmt * feat: try_get_currency_from_ticker * feat(wip): refacto - add doc strings - remove TransactionMixin - remove cron jobs in stagecoach - update python version to use `match` - PragmaClient ABC class - ExecutionConfig type * fix(price-pusher): use PragmaClient * feat(wip): finish refacto spot fetchers * feat: finish fetchers refacto * fix: typo * chore: update python version * feat: add test_ci_all cmd * Update poetry.lock * fix: ruff lint * fix: commented code * fix: lint * fix: add docstring to utils * Update pyproject.toml * Update poetry.lock
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #N/A
Introduced changes
assets
autoscale_volume
paramconstants.py
TransactionMixin
starknet-publisher
andoffchain-publisher
andherodotus
fromstagecoach/
>=3.10, 3.13
in order to use pattern matchingPragmaClient
ABC ClassExecutionConfig
dataclassFetcherInterfaceT
abstract class to simplify fetchers' code