-
Notifications
You must be signed in to change notification settings - Fork 58
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 streamlit entities #1934
Add streamlit entities #1934
Conversation
015c955
to
3d36227
Compare
33999ec
to
6bdb1af
Compare
…ntities # Conflicts: # tests/streamlit/__snapshots__/test_commands.ambr # tests/test_data/projects/example_streamlit_v2/snowflake.yml
from snowflake.cli.api.entities.common import EntityBase | ||
from snowflake.cli._plugins.workspace.context import ActionContext | ||
from snowflake.cli.api.entities.common import EntityBase, get_sql_executor | ||
from snowflake.connector.cursor import SnowflakeCursor | ||
|
||
|
||
class StreamlitEntity(EntityBase[StreamlitEntityModel]): |
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.
I added a temporary mock implementation of StreamlitEntity
for composability with Native Apps in #1856.
The fake logic will be replaced by your PR, but please take a look at the proposed ApplicationPackageChildInterface
contract.
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.
Renamed some methods to allign it with your interface.
Bundle and deploy actions are left intact, as they will have to be heavily remodeled, after introducing project-wide bundle map and other changes to output files management
255ec61
to
6ccfdc8
Compare
…ntities # Conflicts: # src/snowflake/cli/_plugins/streamlit/streamlit_entity.py
07ccf39
to
c6fe394
Compare
9de1ca8
to
83af4d1
Compare
83af4d1
to
46f4447
Compare
cb2d9fe
to
423eff7
Compare
Co-authored-by: Guy Bloom <guy.bloom@snowflake.com>
…age.py Co-authored-by: Guy Bloom <guy.bloom@snowflake.com>
ab412a9
to
619288f
Compare
Pre-review checklist
Changes description
Added streamlit entity outline for introducing composability in PRDF v2