Skip to content
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 remove file and generate urls #33

Merged
merged 4 commits into from
Mar 17, 2024

Conversation

RyjkovAlexey
Copy link
Collaborator

No description provided.

async def get_path_to_photo(file_name: str):
return Path(f"{AnimalPhotoService.__path_to_photos}/{file_name}")

async def remove_file(self, file_name: str):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Кажется, здесь нужна обработка ошибок

@RyjkovAlexey RyjkovAlexey merged commit b36aaaf into main Mar 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants