This fixes the overlap issues in cases where you try to upload 2 files with the same name.
Note that I removed the tests introduced in #115 , because the approach here is super obvious/declarative and it is just not worth the overhead of using real storage providers and maintaining that, every test like that is making our test suit more flaky and slow, forcing us to be more sloppy.
We could add unit tests for something like self._get_key, but again, considering how straightforward this is - probably not worth it.
This fixes the overlap issues in cases where you try to upload 2 files with the same name.
Note that I removed the tests introduced in #115 , because the approach here is super obvious/declarative and it is just not worth the overhead of using real storage providers and maintaining that, every test like that is making our test suit more flaky and slow, forcing us to be more sloppy.
We could add unit tests for something like
self._get_key
, but again, considering how straightforward this is - probably not worth it.Regarding the old fal-cdn using file extension - that will come as a revival of https://github.com/fal-ai/fal-cdn/pull/4 in a separate PR (https://github.com/fal-ai/fal-cdn/pull/23)