-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
T: enhancementNew feature or requestNew feature or request
Description
I am working on a client to blackd and would like to be able to get the version of the blackd server from the http endpoint.
This is for the same use-case that black itself has; disk caching of already formatted files. It would be advantageous to be able to check the cache and avoid the network IO.
Whether there is a new API endpoint, /version, or the response to each POST contains a header containing the server version should be equivalent for this particular use-case
Operating system: macOS
Python version: python3.6
Black version: blackd, version 19.3b0
Does also happen on master: as far as I can tell from the source code
Metadata
Metadata
Assignees
Labels
T: enhancementNew feature or requestNew feature or request