用法

要在项目中使用的 oslo.utils,请导入您需要的单个模块。例如

from oslo_utils import strutils

slug = strutils.to_slug('input value')