444B / streamlit-analytics2

👀 Track & visualize user interactions with your streamlit app
MIT License
22 stars 2 forks source link

Create full path for tracking file #23

Closed 444B closed 7 months ago

444B commented 7 months ago

Original issue by Nickelza on 2023-02-06 00:51:59+00:00

When given a file.json to store data, it'd be nice if the path to the file is created if it doesn't exist

444B commented 7 months ago

@Nickelza is this still relevant?

Nickelza commented 7 months ago

@Nickelza is this still relevant?

Yeah it is, thanks a bunch

444B commented 7 months ago

Thanks! Will take a look into it

444B commented 7 months ago

@Nickelza This now works in the latest version 0.5.3 of streanlit-analytics2 A full path will be created if one does not exist Check out the migration guide in the wiki of this repo if you have any questions :)