-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Somehow when you ask for help you get back just about all the infrastructure, but not the stuff you really want to know about:
r = electron_pt.as_signed_urls()
print(help(r))And you get back:
Help on TransformedResults in module servicex.models object:
class TransformedResults(pydantic.main.BaseModel)
| TransformedResults(*, hash: str, title: str, codegen: str, request_id: str, submit_time: datetime.datetime, data_dir: str, file_list: List[str], signed_url_list: List[str], files: int, result_format: servicex.models.ResultFormat) -> None
|
| Returned for a submission. Gives you everything you need to know about a completed
| transform.
|
| Method resolution order:
| TransformedResults
| pydantic.main.BaseModel
| pydantic.utils.Representation
| builtins.object
|
| Static methods defined here:
|
| __json_encoder__ = pydantic_encoder(obj: Any) -> Any
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __abstractmethods__ = frozenset()
|
| __annotations__ = {'codegen': <class 'str'>, 'data_dir': <class 'str'>...
|
| __class_vars__ = set()
|
| __config__ = <class 'servicex.models.Config'>
|
| __custom_root_type__ = False
|
| __exclude_fields__ = None
|
| __fields__ = {'codegen': ModelField(name='codegen', type=str, required...
|
| __hash__ = None
|
| __include_fields__ = None
|
| __post_root_validators__ = []
|
| __pre_root_validators__ = []
|
| __private_attributes__ = {}
|
| __schema_cache__ = {}
|
| __signature__ = <Signature (*, hash: str, title: str, codegen: s...lt_...
|
| __validators__ = {}
|
| ----------------------------------------------------------------------
| Methods inherited from pydantic.main.BaseModel:
|
| __eq__(self, other: Any) -> bool
|
| __getstate__(self) -> 'DictAny'
|
| __init__(__pydantic_self__, **data: Any) -> None
| Create a new model by parsing and validating input data from keyword arguments.
|
| Raises ValidationError if the input data cannot be parsed to form a valid model.
|
| __iter__(self) -> 'TupleGenerator'
| so `dict(model)` works
|
| __repr_args__(self) -> 'ReprArgs'
|
| __setattr__(self, name, value)
|
| __setstate__(self, state: 'DictAny') -> None
|
| copy(self: 'Model', *, include: Union[ForwardRef('AbstractSetIntStr'), ForwardRef('MappingIntStrAny'), NoneType] = None, exclude: Union[ForwardRef('AbstractSetIntStr'), ForwardRef('MappingIntStrAny'), NoneType] = None, update: Optional[ForwardRef('DictStrAny')] = None, deep: bool = False) -> 'Model'
| Duplicate a model, optionally choose which fields to include, exclude and change.
|
| :param include: fields to include in new model
| :param exclude: fields to exclude from new model, as with values this takes precedence over include
| :param update: values to change/add in the new model. Note: the data is not validated before creating
| the new model: you should trust this data
| :param deep: set to `True` to make a deep copy of the model
| :return: new model instance
|
| dict(self, *, include: Union[ForwardRef('AbstractSetIntStr'), ForwardRef('MappingIntStrAny'), NoneType] = None, exclude: Union[ForwardRef('AbstractSetIntStr'), ForwardRef('MappingIntStrAny'), NoneType] = None, by_alias: bool = False, skip_defaults: Optional[bool] = None, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False) -> 'DictStrAny'
| Generate a dictionary representation of the model, optionally specifying which fields to include or exclude.
|
| json(self, *, include: Union[ForwardRef('AbstractSetIntStr'), ForwardRef('MappingIntStrAny'), NoneType] = None, exclude: Union[ForwardRef('AbstractSetIntStr'), ForwardRef('MappingIntStrAny'), NoneType] = None, by_alias: bool = False, skip_defaults: Optional[bool] = None, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False, encoder: Optional[Callable[[Any], Any]] = None, models_as_dict: bool = True, **dumps_kwargs: Any) -> 'unicode'
| Generate a JSON representation of the model, `include` and `exclude` arguments as per `dict()`.
|
| `encoder` is an optional function to supply as `default` to json.dumps(), other arguments as per `json.dumps()`.
|
| ----------------------------------------------------------------------
| Class methods inherited from pydantic.main.BaseModel:
|
| __get_validators__() -> 'CallableGenerator' from pydantic.main.ModelMetaclass
|
| __try_update_forward_refs__(**localns: Any) -> None from pydantic.main.ModelMetaclass
| Same as update_forward_refs but will not raise exception
| when forward references are not defined.
|
| construct(_fields_set: Optional[ForwardRef('SetStr')] = None, **values: Any) -> 'Model' from pydantic.main.ModelMetaclass
| Creates a new model setting __dict__ and __fields_set__ from trusted or pre-validated data.
| Default values are respected, but no other validation is performed.
| Behaves as if `Config.extra = 'allow'` was set since it adds all passed values
|
| from_orm(obj: Any) -> 'Model' from pydantic.main.ModelMetaclass
|
| parse_file(path: Union[str, pathlib.Path], *, content_type: 'unicode' = None, encoding: 'unicode' = 'utf8', proto: pydantic.parse.Protocol = None, allow_pickle: bool = False) -> 'Model' from pydantic.main.ModelMetaclass
|
| parse_obj(obj: Any) -> 'Model' from pydantic.main.ModelMetaclass
|
| parse_raw(b: Union[str, bytes], *, content_type: 'unicode' = None, encoding: 'unicode' = 'utf8', proto: pydantic.parse.Protocol = None, allow_pickle: bool = False) -> 'Model' from pydantic.main.ModelMetaclass
|
| schema(by_alias: bool = True, ref_template: 'unicode' = '#/definitions/{model}') -> 'DictStrAny' from pydantic.main.ModelMetaclass
|
| schema_json(*, by_alias: bool = True, ref_template: 'unicode' = '#/definitions/{model}', **dumps_kwargs: Any) -> 'unicode' from pydantic.main.ModelMetaclass
|
| update_forward_refs(**localns: Any) -> None from pydantic.main.ModelMetaclass
| Try to update ForwardRefs on fields based on this Model, globalns and localns.
|
| validate(value: Any) -> 'Model' from pydantic.main.ModelMetaclass
|
| ----------------------------------------------------------------------
| Data descriptors inherited from pydantic.main.BaseModel:
|
| __dict__
| dictionary for instance variables (if defined)
|
| __fields_set__
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from pydantic.main.BaseModel:
|
| Config = <class 'pydantic.config.BaseConfig'>
|
| ----------------------------------------------------------------------
| Methods inherited from pydantic.utils.Representation:
|
| __pretty__(self, fmt: Callable[[Any], Any], **kwargs: Any) -> Generator[Any, NoneType, NoneType]
| Used by devtools (https://python-devtools.helpmanual.io/) to provide a human readable representations of objects
|
| __repr__(self) -> 'unicode'
|
| __repr_name__(self) -> 'unicode'
| Name of the instance's class, used in __repr__.
|
| __repr_str__(self, join_str: 'unicode') -> 'unicode'
|
| __rich_repr__(self) -> 'RichReprResult'
| Get fields for Rich library
|
| __str__(self) -> 'unicode'
None
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request