-
Notifications
You must be signed in to change notification settings - Fork 49
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
V3 state crawler #1142
base: main
Are you sure you want to change the base?
V3 state crawler #1142
Conversation
Request connection string from the Moonstream API. | ||
""" | ||
response = requests.get( | ||
f"https://mdb-v3-api.moonstream.to/customers/{customer_id}/instances/{instance_id}/creds/seer/url", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create env var for mdb-v3 api pls. Actually it is already exists MOONSTREAM_DB_V3_CONTROLLER_API
@@ -67,3 +67,6 @@ class ViewTasks(BaseModel): | |||
name: str | |||
outputs: List[Dict[str, Any]] | |||
address: str | |||
customer_id: Optional[str] = None | |||
instance_id: Optional[str] = None | |||
v3: Optional[bool] = False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we not make it Optional
or it will break current implementation? Otherwise it is not convenient to have 3 values None
, False
and True
..
State jobs have ability run over v3 instaces.
Added --customer-db-uri parameter.