Object Type Mappings

Performance Implications

fborm.objects Module Documentation

fborm.objects.fbError = {'apiKey': fborm.types.<fbcastfunc>, '...': ...}
Key (Value):
fborm.objects.fbFilter = {'apiKey': fborm.types.<fbcastfunc>, '...': ...}
Key (Value):

The FogBugz API call listFilters has output that is different from all the other API calls. The data returned is not parameterized into tags. Instead the data that is useful are attributes on teh parent tag. This means we need to do some special processing to extract the data in a meaningful way. Here is an example return by the API:

<filters>
    <filter type="builtin" sFilter="ez">My Cases</filter>
    <filter type="builtin" sFilter="inbox">Inbox</filter>
    <filter type="shared" sFilter="7"><![CDATA[Active Bugs Outline]]></filter>
    <filter type="shared" sFilter="9"><![CDATA[Active Requests Outline]]></filter>
    <filter type="shared" sFilter="13"><![CDATA[All Active]]></filter>
</filters>

The XML attribute sFilter is what needs to be passed as an argument to The FogBugz API call setCurrentFilter. To simplify and make the API uniform the FogBugz-ORM wrapper API converts this into a standardized structure. The FogBugz ORM wrapper API call fborm.commands.setCurrentFilter() has also been extended to support a number of inputs, including this structure.

See fborm.commands.listFilters() , fborm.commands.setCurrentFilter() and FogBugz API - Filters for more information.

fborm.objects.fbTag = {'apiKey': fborm.types.<fbcastfunc>, '...': ...}
Key (Value):
fborm.objects.fbPerson = {'apiKey': fborm.types.<fbcastfunc>, '...': ...}
Key (Value):
fborm.objects.fbProject = {'apiKey': fborm.types.<fbcastfunc>, '...': ...}
Key (Value):
fborm.objects.fbCategory = {'apiKey': fborm.types.<fbcastfunc>, '...': ...}
Key (Value):
fborm.objects.fbPriority = {'apiKey': fborm.types.<fbcastfunc>, '...': ...}
Key (Value):
fborm.objects.fbStatus = {'apiKey': fborm.types.<fbcastfunc>, '...': ...}
Key (Value):
fborm.objects.fbArea = {'apiKey': fborm.types.<fbcastfunc>, '...': ...}
Key (Value):
fborm.objects.fbAttachment = {'apiKey': fborm.types.<fbcastfunc>, '...': ...}
Key (Value):
fborm.objects.fbstring_fEmail = <functools.partial object at 0x100684d60>
fborm.objects.fbBugMiniEvent = {'apiKey': fborm.types.<fbcastfunc>, '...': ...}
Key (Value):
fborm.objects.fbBugEvent = {'apiKey': fborm.types.<fbcastfunc>, '...': ...}
Key (Value):
fborm.objects.fbBug_ixBug = {'apiKey': fborm.types.<fbcastfunc>, '...': ...}
Key (Value):ixBug (fborm.types.fbint) –

very common for use with adding a new case

fborm.objects.fbBug = {'apiKey': fborm.types.<fbcastfunc>, '...': ...}
Key (Value):
fborm.objects.fbBug_withLatestEvent = {'apiKey': fborm.types.<fbcastfunc>, '...': ...}
Key (Value):
fborm.objects.fbBug_withEvents = {'apiKey': fborm.types.<fbcastfunc>, '...': ...}
Key (Value):
fborm.objects.fbBug_withMiniEvents = {'apiKey': fborm.types.<fbcastfunc>, '...': ...}
Key (Value):
fborm.objects.fbFixFor = {'apiKey': fborm.types.<fbcastfunc>, '...': ...}
Key (Value):
fborm.objects.fbMilestone = {'apiKey': fborm.types.<fbcastfunc>, '...': ...}

alias of fborm.objects.fbFixFor

Table Of Contents

Previous topic

FogBugz XML API Command Wrappers

Next topic

Type Management

This Page