mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-08 10:22:09 +00:00
Set query arg in economy/eval as required (#4317)
* Set query arg as required * Edit economy/eval documentation --------- Co-authored-by: elyanah <elyanah.aco02@gmail.com>
This commit is contained in:
@@ -1630,6 +1630,7 @@ class EconomyController(BaseController):
|
||||
type=str,
|
||||
nargs="+",
|
||||
dest="query",
|
||||
required="-h" not in other_args,
|
||||
help="Query to evaluate on loaded datasets",
|
||||
)
|
||||
if other_args and "-" not in other_args[0][0]:
|
||||
|
||||
@@ -19,6 +19,6 @@ eval [-q QUERY [QUERY ...]]
|
||||
|
||||
| Name | Description | Default | Optional | Choices |
|
||||
| ---- | ----------- | ------- | -------- | ------- |
|
||||
| query | Query to evaluate on loaded datasets | None | True | None |
|
||||
| query | Query to evaluate on loaded datasets | None | False | None |
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user