mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-13 12:51:49 +00:00
Fixing 6 crypto bugs (#3228)
* fixing 6 crypto bugs * fixing filter stuff Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
This commit is contained in:
@@ -1056,7 +1056,7 @@ class DueDiligenceController(CryptoBaseController):
|
||||
|
||||
parser.add_argument(
|
||||
"--descend",
|
||||
action="store_false",
|
||||
action="store_true",
|
||||
help="Flag to sort in descending order (lowest first)",
|
||||
dest="descend",
|
||||
default=False,
|
||||
|
||||
@@ -51,8 +51,6 @@ class NFTController(BaseController):
|
||||
choices["stats"] = {
|
||||
"--slug": None,
|
||||
"-s": None,
|
||||
"--limit": {str(c): {} for c in range(1, 100)},
|
||||
"-l": "--limit",
|
||||
}
|
||||
choices["collections"] = {
|
||||
"--fp": {},
|
||||
|
||||
@@ -1190,7 +1190,7 @@ class OnchainController(BaseController):
|
||||
|
||||
parser.add_argument(
|
||||
"--descend",
|
||||
action="store_false",
|
||||
action="store_true",
|
||||
help="Flag to sort in descending order (lowest first)",
|
||||
dest="descend",
|
||||
default=False,
|
||||
@@ -1343,7 +1343,7 @@ class OnchainController(BaseController):
|
||||
|
||||
parser.add_argument(
|
||||
"--descend",
|
||||
action="store_false",
|
||||
action="store_true",
|
||||
help="Flag to sort in descending order (lowest first)",
|
||||
dest="descend",
|
||||
default=False,
|
||||
|
||||
@@ -170,7 +170,7 @@ class OverviewController(BaseController):
|
||||
"-l": "--limit",
|
||||
"--descend": {},
|
||||
}
|
||||
choices["derivates"] = {
|
||||
choices["derivatives"] = {
|
||||
"--sort": {c: {} for c in pycoingecko_model.DERIVATIVES_FILTERS},
|
||||
"-s": "--sort",
|
||||
"--limit": {str(c): {} for c in range(1, 100)},
|
||||
@@ -1129,10 +1129,10 @@ class OverviewController(BaseController):
|
||||
|
||||
parser.add_argument(
|
||||
"--descend",
|
||||
action="store_false",
|
||||
action="store_true",
|
||||
help="Flag to sort in descending order (lowest first)",
|
||||
dest="descend",
|
||||
default=True,
|
||||
default=False,
|
||||
)
|
||||
|
||||
ns_parser = self.parse_known_args_and_warn(
|
||||
|
||||
Reference in New Issue
Block a user