def service_factory(**properties):

    return HasTraits(**properties)
Write something to a file in a certain directory.
dataset/ETHPy150Open enthought/envisage/envisage/tests/service_registry_test_case.py/service_factory--crossover with--dataset/ETHPy150Open letsencrypt/letsencrypt/letsencrypt-auto-source/pieces/fetch.py/write