models_base (module)

The base model for other model modules to build on top of

Author

David Young

Classes

base_model(log, request[, elementId, search])

A superclass model for pyramid apps

object()

The most base type

Sub-modules

base_model(log, request[, elementId, search])

A superclass model for pyramid apps

object()

The most base type

os

OS routines for NT or Posix depending on what system we’re on.

sys

This module provides access to some objects used or maintained by the interpreter and to functions that interact strongly with the interpreter.

class base_model(log, request, elementId=False, search=False)[source]

Bases: object

A superclass model for pyramid apps

Key Arguments:
  • log – logger

  • request – the pyramid request

  • elementId – the specific element id requests (or False)

  • search – is the result given from a search query

close()[source]