Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(12)  |  Call(7)  |  Derive(0)  |  Import(5)
Obsolete, use individual classes

src/a/c/accompany-HEAD/UHCore/WebUI/sensorMap/currentMap.py   accompany(Download)
import io, cherrypy, mimetypes
from cherrypy.lib import file_generator
 
from SensorMap.processor import MapProcessor
from Data.dataAccess import DataAccess
    def __init__(self):
        self._robotName = CareOBot().name
        self._dao = DataAccess()
        self._sr = StateResolver()
 

src/a/c/accompany-HEAD/UHCore/WebUI/questions/actionQuestions.py   accompany(Download)
from Data.dataAccess import DataAccess
 
import cherrypy
import json
 
class Data(object):
    exposed = True
 
    def __init__(self):
        self._dao = DataAccess()

src/a/c/accompany-HEAD/UHCore/Core/locations.py   accompany(Download)
from Data.dataAccess import DataAccess
from extensions import PollingProcessor
import math
 
class LocationProcessor(PollingProcessor):
 
    def __init__(self):
        super(LocationProcessor, self).__init__()
        self._dao = DataAccess()

src/a/c/accompany-HEAD/UHCore/WebUI/history/actionHistory.py   accompany(Download)
from Data.dataAccess import DataAccess
from SensorMap.processor import MapProcessor
from Data.sensors import StateResolver
 
import cherrypy
    def __init__(self):
        self._dao = DataAccess()
 
    def GET(self, *args, **kwargs):
        if len(args) < 1:
    def __init__(self):
        self._dao = DataAccess()
        self._basePath = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'images')
 
    def GET(self, *args, **kwargs):
    def __init__(self):
        self._dao = DataAccess()
 
    def GET(self, *args, **kwargs):
        if len(args) < 1:

src/a/c/accompany-HEAD/UHCore/Core/history.py   accompany(Download)
import datetime
from Data.dataAccess import DataAccess
from threading import Thread
from extensions import PollingThread, PollingProcessor
from Robots.careobot import CareOBot
    def addHistory(self, ruleName, imageBytes=None, imageType=None):
 
        cob = CareOBot()
        dao = DataAccess()
        dateNow = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')