Package madrona :: Package features
[hide private]

Package features

source code

Submodules [hide private]

Classes [hide private]
  FeatureConfigurationError
  FeatureOptions
Represents properties of Feature Classes derived from both defaults and developer-specified options within the Options inner-class.
  Link
Functions [hide private]
 
create_link(rel, *args, **kwargs) source code
 
alternate(*args, **kwargs) source code
 
related(*args, **kwargs) source code
 
edit(*args, **kwargs) source code
 
edit_form(*args, **kwargs) source code
 
register(model) source code
 
get_model_options(model_name) source code
 
workspace_json(user, is_owner, models=None) source code
 
get_collection_models()
Utility function returning models for registered and valid FeatureCollections
source code
 
get_feature_models()
Utility function returning models for registered and valid Features excluding Collections
source code
 
user_sharing_groups(user)
Returns a list of groups that user is member of and and group must have sharing permissions
source code
 
groups_users_sharing_with(user, include_public=False)
Get a dict of groups and users that are currently sharing items with a given user If spatial_only is True, only models which inherit from the Feature class will be reflected here returns something like {'our_group': {'group': <Group our_group>, 'users': [<user1>, <user2>,...]}, ...
source code
 
get_model_by_uid(muid) source code
 
get_feature_by_uid(uid) source code
Variables [hide private]
  registered_models = []
  registered_model_options = {}
  registered_links = []
  logger = get_logger()
Function Details [hide private]

groups_users_sharing_with(user, include_public=False)

source code 

Get a dict of groups and users that are currently sharing items with a given user If spatial_only is True, only models which inherit from the Feature class will be reflected here returns something like {'our_group': {'group': <Group our_group>, 'users': [<user1>, <user2>,...]}, ... }