phoenix_title wx.lib.pubsub.core.topicargspec

Definitions related to message data specification.

copyright:

Copyright since 2006 by Oliver Schoenborn, all rights reserved.

license:

BSD, see LICENSE_BSD_Simple.txt for details.

function_summary Functions Summary

topicArgsFromCallable

Get the topic message data names and list of those that are required,


class_summary Classes Summary

ArgSpecGiven

The message data specification (MDS) for a topic.


Functions



topicArgsFromCallable(_callable)

Get the topic message data names and list of those that are required, by introspecting given callable. Returns a pair, (args, required) where args is a dictionary of allowed message data names vs docstring, and required states which ones are required rather than optional.