Hi there!
Though the tendon may not be completely cut, this would require a complete repair. We might be looking at a few initial days of complete rest, followed by a few weeks of movement restriction, while return to normal activities may take a few more weeks. It would be best to discuss the situation and the suggested management plan in detail with your treating orthopedician.
Hope this is helpful.
Take care!