Skip to content

Instantly share code, notes, and snippets.

@espeed
Created November 14, 2011 09:29
Show Gist options
  • Save espeed/1363599 to your computer and use it in GitHub Desktop.
Save espeed/1363599 to your computer and use it in GitHub Desktop.
Bulbs 0.3 Config File
# -*- coding: utf-8 -*-
#
# Copyright 2011 James Thornton (http://jamesthornton.com)
# BSD License (see LICENSE for details)
#
class Config(object):
def __init__(self,root_uri,username=None,password=None):
self.root_uri = root_uri
self.username = username
self.password = password
self.id_var = "eid"
self.type_var = "element_type"
self.label_var = "label"
self.type_system = "json"
self.debug = False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment