Abstract Meta-Data#

Base Meta Data#

class smoothcrawler_cluster.model.metadata._BaseMetaData[source]#

The base class of all meta-data which be used in this package

It only defines one abstracted function every meta-data must implement — to_readable_object which for deserializing.

abstract to_readable_object() dict[source]#

Converse the instance’s current data to be dict type value. Its target is let data converse as JSON format value for deserializing conveniently.

Returns:

A dict type value keeps the current instance’s data.

Return type:

dict