underoll

Results 7 comments of underoll

Actually, there is no need to call `promisifyAll` on every object. This can be done just in the same way as for `mysql` (http://bluebirdjs.com/docs/working-with-callbacks.html#more-common-examples) ``` const JDBC = require('jdbc'); const...

Well, i have the same problem, and my solution is to validate the reserved connection each time. I use bluebird, so my example is promisified. ``` const JDBC = require('jdbc');...

Same is here https://github.com/vpulim/node-soap/blob/master/src/client.ts#L341 Cant imagine the reason for `.elements[0]`...

есть мнение, что в inflect стоит передавать только те граммемы, которые есть в исходной форме ``` >>> def test(n): ... if n.tag.gender: ... print n.inflect({'femn'}).word ... else: ... print n.word...

> В идеале неплохо бы еще в документации добавить информацию о новом параметре у метода `make_agree_with_number` Добавил. Надеюсь, правильно понял, куда. Других упоминаний `make_agree_with_number` в документации не нашел.

не думаю, что это стоит считать багом `p.tag.POS` - это часть речи, а `NUMB` - это нестандартная граммема https://pymorphy2.readthedocs.io/en/latest/user/grammemes.html#non-standard-grammemes наличие таких граммем можно проверять, например, так `'NUMB' in p.tag`