I believe it would be really beneficial to create some ways for the users / teams of a Cognite Project to create new versions for the given Streamlit application, or at least give the ability to copy the whole Streamlit app with a new name in the same Cognite Project. In case of sprints and tasks in Scrum or Agile the feature development is done in separate segments, so the stable code should be available for the users while the development could be continued in an unpublished copy of code. An import / export functionality for Streamlit Apps could also solve the problem and it would make the migration between dev and prod environments much easier.
The buttons have disappeared in the search after one of the releases. It is still usable, but you have to guess the functionalities.
Hi! It would be great to have a possibility to add / change the placeholder text for Cognite functions. Example:It would be great to be able to add placeholder from code.
Currently Cognite’s Streamlit apps have issues with for example:with st.spinner('Wait for it...'): time.sleep(5)st.success('Done!')The code itself should wait 5 seconds before writing out Done!, but is executed instantly. Another example is when you try to make your application responsive while waiting for some data to arrive from a remote location. For example, when you want to print out a wait message for the user because sometimes it takes some seconds to load the data, but the app doesn't work as intended. In the following example I am trying to print out a message while waiting for the function to finish, but it fails:call_func_button = st.button("Call function with current parameters", key="button_func_call")if call_func_button: func_call = example_function.call(data=input_data, wait=False) st.info("Waiting for function...") while func_call.status == "Running": func_call.update() if func_call.status == "Failed": st.error("Function failed to run!")
Currently the Streamlit access for the users of the project can only be prohibited if you strip the files.write and files.read capabilites from the specific user groups. This is a good temporary solution, but in case the users want to work with files inside the Streamlit applications, they cannot, since the capabilities restrict them from reading / writing files in CDF. Streamlit’s access rights are very limited at the moment, and the users can see the code of the applications. It would be nice to separate users from developers when it comes to Streamlit in Cognite. The same thing applies to Published / Unpublished Streamlit apps. Right now it is just a label, I am sure there were plans regarding the access rights of Streamlit, so I would like to raise these ideas to the dev team. Thank you for your hard work,Tibor Váncza
Hi!I would really appreciate on Cognite Streamlit if a filename could be edited somehow. Either by a button or something. Thank you,Tibor Váncza
Are ANSI escape sequences planned to be added to the Cognite Function logs? For now, it seems to be impossible to make the text bold or change the color of the text inside the function logs.
The extendedExpiration query parameter cannot be added via js-sdk, only by a post method.await client.files.getDownloadUrls([{id: 123}, {externalId: 'abc'}]);Post methodIt would be a nice-to-have feature to have to change the expiration time of the download url.
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.