-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(api-server): Update NanotronServerResponse class
- Update import statements and types in NanotronServerResponse class - Add NanotronClientRequest and NativeServerResponse types to type imports - Remove unused import of ServerResponse from node:http - Update constructor parameters to store NanotronClientRequest and NativeServerResponse - Update logger method calls with debugId from clientRequest.url - Update replyErrorResponse and replyError methods to use clientRequest instead of config - Update replyJson method to use debugId from clientRequest.url in logger error call - Update reply method to use debugId from clientRequest.url in logger method call - Remove unnecessary error logging in replyJson and reply methods
- Loading branch information
Showing
1 changed file
with
17 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters