c.f. https://github.com/datalab-org/datalab/pull/1548
c.f. datalab-org/datalab#1548