Skip to content
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

add a simple strategy for the academy homework #201

Merged
merged 6 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion strategies/always_blue/always_blue.py
Adamantios marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from typing import Dict, Any, List, Union


def get_always_blue() -> Dict[str, Union[int, str]]:
def get_always_blue() -> Dict[str, Union[int, List[str]]]:
"""ALWAYS BLUE."""
return {"bet_amount": 0, "info": "ALWAYS BLUE!"}
Adamantios marked this conversation as resolved.
Show resolved Hide resolved

Expand Down
4 changes: 2 additions & 2 deletions strategies/always_blue/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ description: A simple testing strategy strategy.
license: Apache-2.0
aea_version: '>=1.0.0, <2.0.0'
fingerprint:
__init__.py: bafybeiba6ewm2qagmk6fs5g7qihtwa6qa27ews6edyl2e4ye5ydu4637ii
always_blue.py: bafybeiba6ewm2qagmk6fs5g7qihtwa6qa27ews6edyl2e4ye5ydu4637ii
__init__.py: bafybeicmh5fk5fjspsvesg2tqwm7i7e7bppn4f6cq46rqpwj3ioutlqdle
always_blue.py: bafybeicmh5fk5fjspsvesg2tqwm7i7e7bppn4f6cq46rqpwj3ioutlqdle
fingerprint_ignore_patterns: []
entry_point: always_blue.py
callable: run
Expand Down