Resolving a minor TODO
/filetype_completion_available handler renamed to /semantic_completion_available
This commit is contained in:
parent
5000d2e4ae
commit
ebb1627f2e
@ -315,7 +315,7 @@ def FiletypeCompletionAvailable_Works_test():
|
|||||||
'filetypes': ['python']
|
'filetypes': ['python']
|
||||||
}
|
}
|
||||||
|
|
||||||
ok_( app.post_json( '/filetype_completion_available',
|
ok_( app.post_json( '/semantic_completion_available',
|
||||||
request_data ).json )
|
request_data ).json )
|
||||||
|
|
||||||
|
|
||||||
|
@ -117,8 +117,7 @@ def SetUserOptions():
|
|||||||
_SetUserOptions( request.json )
|
_SetUserOptions( request.json )
|
||||||
|
|
||||||
|
|
||||||
# TODO: Rename this to 'semantic_completion_available'
|
@app.post( '/semantic_completion_available')
|
||||||
@app.post( '/filetype_completion_available')
|
|
||||||
def FiletypeCompletionAvailable():
|
def FiletypeCompletionAvailable():
|
||||||
LOGGER.info( 'Received filetype completion available request')
|
LOGGER.info( 'Received filetype completion available request')
|
||||||
return _JsonResponse( SERVER_STATE.FiletypeCompletionAvailable(
|
return _JsonResponse( SERVER_STATE.FiletypeCompletionAvailable(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user