File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -287,7 +287,18 @@ class Workspace(_ChannelSummaryMixin, dict):
287287 valid_joins = ['none' , 'outer' , 'left outer' , 'right outer' ]
288288
289289 def __init__ (self , spec , validate : bool = True , ** config_kwargs ):
290- """Workspaces hold the model, data and measurements."""
290+ """
291+ Workspaces hold the model, data and measurements.
292+
293+ Args:
294+ spec (:obj:`jsonable`): The HistFactory JSON specification
295+ validate (:obj:`bool`): Whether to validate against a JSON schema
296+ config_kwargs: Possible keyword arguments for the workspace configuration
297+
298+ Returns:
299+ model (:class:`~pyhf.workspace.Workspace`): The Workspace instance
300+
301+ """
291302 spec = copy .deepcopy (spec )
292303 super ().__init__ (spec , channels = spec ['channels' ])
293304 self .schema = config_kwargs .pop ('schema' , 'workspace.json' )
You can’t perform that action at this time.
0 commit comments