Fastapi Path Variable Python Coding