Skip to content

Instantly share code, notes, and snippets.

@mhash1m
Created February 29, 2020 20:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mhash1m/baeff40a03a2d04f468f20c917eb8c0b to your computer and use it in GitHub Desktop.
Save mhash1m/baeff40a03a2d04f468f20c917eb8c0b to your computer and use it in GitHub Desktop.
hashim@hashim-ThinkPad-W520:~/dffml$ ./scripts/doctest.sh
Running Sphinx v2.4.3
making output directory... done
WARNING: html_static_path entry '_static' does not exist
loading intersphinx inventory from https://docs.python.org/3/objects.inv...
building [mo]: targets for 0 po files that are out of date
building [doctest]: targets for 57 source files that are out of date
updating environment: [new config] 57 added, 0 changed, 0 removed
/home/hashim/.local/lib/python3.7/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
reading sources... [100%] usage/mnist
/home/hashim/dffml/dffml/df/base.py:docstring of dffml.df.base.BaseDefinitionSetContext.inputs:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseDefinitionSetContext.inputs(Definition: dffml.df.types.Definition) -> AsyncIterator[dffml.df.types.Input]
:module: dffml.df.base
:abstractmethod:
:async:
Asynchronous iterator of all inputs within a context, which are of a
definition.
/home/hashim/dffml/dffml/df/base.py:docstring of dffml.df.base.BaseInputNetworkContext.add:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseInputNetworkContext.add(input_set: dffml.df.base.BaseInputSet)
:module: dffml.df.base
:abstractmethod:
:async:
Adds new input set to the network
/home/hashim/dffml/dffml/df/base.py:docstring of dffml.df.base.BaseInputNetworkContext.added:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseInputNetworkContext.added(ctx: dffml.df.base.BaseInputSetContext) -> dffml.df.base.BaseInputSet
:module: dffml.df.base
:abstractmethod:
:async:
Returns when a new input set has entered the network within a context
/home/hashim/dffml/dffml/df/base.py:docstring of dffml.df.base.BaseInputNetworkContext.ctx:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseInputNetworkContext.ctx() -> dffml.df.base.BaseInputSetContext
:module: dffml.df.base
:abstractmethod:
:async:
Returns when a new input set context has entered the network
/home/hashim/dffml/dffml/df/base.py:docstring of dffml.df.base.BaseInputNetworkContext.gather_inputs:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseInputNetworkContext.gather_inputs(rctx: dffml.df.base.BaseRedundancyCheckerContext, operation: dffml.df.types.Operation, ctx: Optional[dffml.df.base.BaseInputSetContext] = None) -> AsyncIterator[dffml.df.base.BaseParameterSet]
:module: dffml.df.base
:abstractmethod:
:async:
Generate all possible permutations of applicable inputs for an operation
that, according to the redundancy checker, haven't been run yet.
/home/hashim/dffml/dffml/df/base.py:docstring of dffml.df.base.BaseInputSet.add:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseInputSet.add(item: dffml.df.types.Input) -> None
:module: dffml.df.base
:abstractmethod:
:async:
Add an input to the input set.
/home/hashim/dffml/dffml/df/base.py:docstring of dffml.df.base.BaseKeyValueStoreContext.get:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseKeyValueStoreContext.get(key: str) -> Optional[bytes]
:module: dffml.df.base
:abstractmethod:
:async:
Get a value from the key value store
/home/hashim/dffml/dffml/df/base.py:docstring of dffml.df.base.BaseKeyValueStoreContext.set:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseKeyValueStoreContext.set(name: str, value: bytes)
:module: dffml.df.base
:abstractmethod:
:async:
Get a value in the key value store
/home/hashim/dffml/dffml/df/base.py:docstring of dffml.df.base.BaseLockNetworkContext.acquire:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseLockNetworkContext.acquire(parameter_set: dffml.df.base.BaseParameterSet) -> bool
:module: dffml.df.base
:abstractmethod:
:async:
An async context manager which will acquire locks of all inputs within
the parameter set.
/home/hashim/dffml/dffml/df/base.py:docstring of dffml.df.base.BaseOperationImplementationNetworkContext.contains:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseOperationImplementationNetworkContext.contains(operation: dffml.df.types.Operation) -> bool
:module: dffml.df.base
:abstractmethod:
:async:
Checks if the network contains / has the ability to run a given
operation.
/home/hashim/dffml/dffml/df/base.py:docstring of dffml.df.base.BaseOperationImplementationNetworkContext.dispatch:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseOperationImplementationNetworkContext.dispatch(ictx: dffml.df.base.BaseInputNetworkContext, lctx: dffml.df.base.BaseLockNetworkContext, operation: dffml.df.types.Operation, parameter_set: dffml.df.base.BaseParameterSet)
:module: dffml.df.base
:abstractmethod:
:async:
Schedule the running of an operation
/home/hashim/dffml/dffml/df/base.py:docstring of dffml.df.base.BaseOperationImplementationNetworkContext.instantiable:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseOperationImplementationNetworkContext.instantiable(operation: dffml.df.types.Operation) -> bool
:module: dffml.df.base
:abstractmethod:
:async:
Prior to figuring out which operation implementation networks contain
an operation, if none do, they will need to instantiate it on the fly.
/home/hashim/dffml/dffml/df/base.py:docstring of dffml.df.base.BaseOperationImplementationNetworkContext.instantiate:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseOperationImplementationNetworkContext.instantiate(operation: dffml.df.types.Operation, config: dffml.base.BaseConfig) -> bool
:module: dffml.df.base
:abstractmethod:
:async:
Instantiate a given operation so that it can be run within this network.
/home/hashim/dffml/dffml/df/base.py:docstring of dffml.df.base.BaseOperationImplementationNetworkContext.operation_completed:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseOperationImplementationNetworkContext.operation_completed()
:module: dffml.df.base
:abstractmethod:
:async:
Returns when an operation finishes
/home/hashim/dffml/dffml/df/base.py:docstring of dffml.df.base.BaseOperationImplementationNetworkContext.operations_parameter_set_pairs:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseOperationImplementationNetworkContext.operations_parameter_set_pairs(ictx: dffml.df.base.BaseInputNetworkContext, octx: dffml.df.base.BaseOperationNetworkContext, rctx: dffml.df.base.BaseRedundancyCheckerContext, ctx: dffml.df.base.BaseInputSetContext, *, new_input_set: dffml.df.base.BaseInputSet = None, stage: dffml.df.types.Stage = <Stage.PROCESSING: 'processing'>) -> AsyncIterator[Tuple[dffml.df.types.Operation, dffml.df.base.BaseParameterSet]]
:module: dffml.df.base
:abstractmethod:
:async:
Use new_input_set to determine which operations in the network might be
up for running. Cross check using existing inputs to generate per
input set context novel input pairings. Yield novel input pairings
along with their operations as they are generated.
/home/hashim/dffml/dffml/df/base.py:docstring of dffml.df.base.BaseOperationImplementationNetworkContext.run:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseOperationImplementationNetworkContext.run(operation: dffml.df.types.Operation, inputs: Dict[str, Any]) -> Union[bool, Dict[str, Any]]
:module: dffml.df.base
:abstractmethod:
:async:
Find the operation implementation for the given operation and create an
operation implementation context, call the run method of the context and
return the results.
/home/hashim/dffml/dffml/df/base.py:docstring of dffml.df.base.BaseOperationNetworkContext.add:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseOperationNetworkContext.add(operations: List[dffml.df.types.Operation])
:module: dffml.df.base
:abstractmethod:
:async:
Add operations to the network
/home/hashim/dffml/dffml/df/base.py:docstring of dffml.df.base.BaseOperationNetworkContext.operations:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseOperationNetworkContext.operations(input_set: dffml.df.base.BaseInputSet = None, stage: dffml.df.types.Stage = <Stage.PROCESSING: 'processing'>) -> AsyncIterator[dffml.df.types.Operation]
:module: dffml.df.base
:abstractmethod:
:async:
Retrieve all operations in the network of a given stage filtering by
operations who have inputs with definitions in the input set.
/home/hashim/dffml/dffml/df/base.py:docstring of dffml.df.base.BaseOrchestratorContext.run_operations:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseOrchestratorContext.run_operations(strict: bool = True) -> AsyncIterator[Tuple[dffml.df.base.BaseContextHandle, Dict[str, Any]]]
:module: dffml.df.base
:abstractmethod:
:async:
Run all the operations then run cleanup and output operations
/home/hashim/dffml/dffml/df/base.py:docstring of dffml.df.base.OperationImplementationContext.run:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: OperationImplementationContext.run(inputs: Dict[str, Any]) -> Union[bool, Dict[str, Any]]
:module: dffml.df.base
:abstractmethod:
:async:
Implementation of the operation goes here. Should take and return a dict
with keys matching the input and output parameters of the Operation
object associated with this operation implementation context.
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryInputNetworkContext.add:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryInputNetworkContext.add(input_set: dffml.df.base.BaseInputSet)
:module: dffml.df.memory
:async:
Adds new input set to the network
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryInputNetworkContext.added:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryInputNetworkContext.added(watch_ctx: dffml.df.base.BaseInputSetContext) -> Tuple[bool, dffml.df.base.BaseInputSet]
:module: dffml.df.memory
:async:
Returns when a new input set has entered the network within a context
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryInputNetworkContext.cadd:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryInputNetworkContext.cadd(ctx, *args: dffml.df.types.Input)
:module: dffml.df.memory
:async:
Shorthand for creating a MemoryInputSet with an existing context.
>>> async def main():
... async with MemoryOrchestrator.withconfig({}) as orchestrator:
... async with orchestrator(DataFlow.auto()) as octx:
... await octx.ictx.sadd(StringInputSetContext("Hi"))
>>> asyncio.run(main())
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryInputNetworkContext.ctx:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryInputNetworkContext.ctx() -> Tuple[bool, dffml.df.base.BaseInputSetContext]
:module: dffml.df.memory
:async:
Returns when a new input set context has entered the network
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryInputNetworkContext.definition:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryInputNetworkContext.definition(ctx: dffml.df.base.BaseInputSetContext, definition: str) -> dffml.df.types.Definition
:module: dffml.df.memory
:async:
Return a DefinitionSet context that can be used to access the inputs
within the given context, by definition.
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryInputNetworkContext.sadd:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryInputNetworkContext.sadd(context_handle_string, *args: dffml.df.types.Input)
:module: dffml.df.memory
:async:
Shorthand for creating a MemoryInputSet with a StringInputSetContext.
>>> async def main():
... async with MemoryOrchestrator.withconfig({}) as orchestrator:
... async with orchestrator(DataFlow.auto()) as octx:
... await octx.ictx.sadd("Hi")
>>> asyncio.run(main())
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryInputNetworkContext.uadd:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryInputNetworkContext.uadd(*args: dffml.df.types.Input)
:module: dffml.df.memory
:async:
Shorthand for creating a MemoryInputSet with a StringInputSetContext
containing a random value for the string.
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryInputSet.add:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryInputSet.add(item: dffml.df.types.Input) -> None
:module: dffml.df.memory
:async:
Add an input to the input set.
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryKeyValueStoreContext.get:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryKeyValueStoreContext.get(key: str) -> Optional[bytes]
:module: dffml.df.memory
:async:
Get a value from the key value store
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryKeyValueStoreContext.set:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryKeyValueStoreContext.set(key: str, value: bytes)
:module: dffml.df.memory
:async:
Get a value in the key value store
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryOperationImplementationNetworkContext.contains:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryOperationImplementationNetworkContext.contains(operation: dffml.df.types.Operation) -> bool
:module: dffml.df.memory
:async:
Checks if operation in is operations we have loaded in memory
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryOperationImplementationNetworkContext.dispatch:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryOperationImplementationNetworkContext.dispatch(octx: dffml.df.base.BaseOrchestratorContext, operation: dffml.df.types.Operation, parameter_set: dffml.df.base.BaseParameterSet)
:module: dffml.df.memory
:async:
Schedule the running of an operation
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryOperationImplementationNetworkContext.ensure_contains:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryOperationImplementationNetworkContext.ensure_contains(operation: dffml.df.types.Operation)
:module: dffml.df.memory
:async:
Raise errors if we don't have and can't instantiate an operation.
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryOperationImplementationNetworkContext.instantiable:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryOperationImplementationNetworkContext.instantiable(operation: dffml.df.types.Operation, *, opimp: dffml.df.base.OperationImplementation = None) -> bool
:module: dffml.df.memory
:async:
Looks for class registered with ____ entrypoint using pkg_resources.
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryOperationImplementationNetworkContext.instantiate:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryOperationImplementationNetworkContext.instantiate(operation: dffml.df.types.Operation, config: dffml.base.BaseConfig, *, opimp: dffml.df.base.OperationImplementation = None) -> bool
:module: dffml.df.memory
:async:
Instantiate class registered with ____ entrypoint using pkg_resources.
Return true if instantiation was successful.
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryOperationImplementationNetworkContext.operation_completed:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryOperationImplementationNetworkContext.operation_completed()
:module: dffml.df.memory
:async:
Returns when an operation finishes
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryOperationImplementationNetworkContext.run:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryOperationImplementationNetworkContext.run(ctx: dffml.df.base.BaseInputSetContext, octx: dffml.df.base.BaseOrchestratorContext, operation: dffml.df.types.Operation, inputs: Dict[str, Any]) -> Union[bool, Dict[str, Any]]
:module: dffml.df.memory
:async:
Run an operation in our network.
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryOperationImplementationNetworkContext.run_dispatch:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryOperationImplementationNetworkContext.run_dispatch(octx: dffml.df.base.BaseOrchestratorContext, operation: dffml.df.types.Operation, parameter_set: dffml.df.base.BaseParameterSet)
:module: dffml.df.memory
:async:
Run an operation in the background and add its outputs to the input
network when complete
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryOperationNetworkContext.add:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryOperationNetworkContext.add(operations: List[dffml.df.types.Operation])
:module: dffml.df.memory
:async:
Add operations to the network
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryOrchestratorContext.initialize_dataflow:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryOrchestratorContext.initialize_dataflow(dataflow: dffml.df.types.DataFlow) -> None
:module: dffml.df.memory
:async:
Initialize a DataFlow by preforming the following steps.
1. Add operations the operation network context
2. Instantiate operation implementations which are not instantiated
within the operation implementation network context
3. Seed input network context with given inputs
/home/hashim/dffml/dffml/df/memory.py:docstring of dffml.df.memory.MemoryRedundancyCheckerContext.unique:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemoryRedundancyCheckerContext.unique(operation: dffml.df.types.Operation, parameter_set: dffml.df.base.BaseParameterSet) -> str
:module: dffml.df.memory
:async:
SHA384 hash of the parameter set context handle as a string, the
operation.instance_name, and the sorted list of input uuids.
/home/hashim/dffml/dffml/feature/feature.py:docstring of dffml.feature.feature.Data.mklock:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: Data.mklock(name: str) -> asyncio.locks.Lock
:module: dffml.feature.feature
:async:
Return a lock stored in data under the key `name`. Create the lock if it
does not exist.
/home/hashim/dffml/dffml/model/model.py:docstring of dffml.model.model.ModelContext.accuracy:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: ModelContext.accuracy(sources: dffml.source.source.Sources) -> dffml.model.accuracy.Accuracy
:module: dffml.model.model
:abstractmethod:
:async:
Evaluates the accuracy of our model after training using the input records
as test data.
/home/hashim/dffml/dffml/model/model.py:docstring of dffml.model.model.ModelContext.train:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: ModelContext.train(sources: dffml.source.source.Sources)
:module: dffml.model.model
:abstractmethod:
:async:
Train using records as the data to learn from.
/home/hashim/dffml/dffml/source/source.py:docstring of dffml.source.source.BaseSourceContext.record:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseSourceContext.record(key: str)
:module: dffml.source.source
:abstractmethod:
:async:
Get a record from the source or add it if it doesn't exist
/home/hashim/dffml/dffml/source/source.py:docstring of dffml.source.source.BaseSourceContext.update:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseSourceContext.update(record: dffml.record.Record)
:module: dffml.source.source
:abstractmethod:
:async:
Updates a record for a source
/home/hashim/dffml/dffml/source/source.py:docstring of dffml.source.source.SourcesContext.record:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: SourcesContext.record(key: str)
:module: dffml.source.source
:async:
Retrieve and or register record will all sources
/home/hashim/dffml/dffml/source/source.py:docstring of dffml.source.source.SourcesContext.update:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: SourcesContext.update(record: dffml.record.Record)
:module: dffml.source.source
:async:
Updates a record for a source
/home/hashim/dffml/dffml/source/csv.py:docstring of dffml.source.csv.CSVSource.dump_fd:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: CSVSource.dump_fd(fd)
:module: dffml.source.csv
:async:
Dumps data into a CSV stream
/home/hashim/dffml/dffml/source/csv.py:docstring of dffml.source.csv.CSVSource.load_fd:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: CSVSource.load_fd(fd)
:module: dffml.source.csv
:async:
Parses a CSV stream into Record instances
/home/hashim/dffml/dffml/source/memory.py:docstring of dffml.source.memory.MemorySourceContext.record:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemorySourceContext.record(key: str) -> dffml.record.Record
:module: dffml.source.memory
:async:
Get a record from the source or add it if it doesn't exist
/home/hashim/dffml/dffml/source/memory.py:docstring of dffml.source.memory.MemorySourceContext.update:1: WARNING: Error in "py:comethod" directive:
unknown option: "async".
.. py:comethod:: MemorySourceContext.update(record)
:module: dffml.source.memory
:async:
Updates a record for a source
/home/hashim/dffml/dffml/util/asynchelper.py:docstring of dffml.util.asynchelper.aenter_stack:1: WARNING: Error in "py:cofunction" directive:
unknown option: "async".
.. py:cofunction:: aenter_stack(obj: Any, context_managers: Dict[str, AbstractAsyncContextManager], call: bool = True) -> contextlib.AsyncExitStack
:module: dffml.util.asynchelper
:async:
Create a :py:class:`contextlib.AsyncExitStack` then go through each key,
value pair in the dict of async context managers. Enter the context of each
async context manager and call setattr on ``obj`` to set the attribute by
the name of ``key`` to the value yielded by the async context manager.
If ``call`` is true then the context entered will be the context returned by
calling each context manager respectively.
/home/hashim/dffml/docs/index.rst:2: WARNING: Duplicate explicit target name: "here".
/home/hashim/dffml/dffml/source/source.py:docstring of dffml.source.source.BaseSourceContext.record:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseSourceContext.record(key: str)
:noindex:
:module: dffml.source.source
:abstractmethod:
:async:
Get a record from the source or add it if it doesn't exist
/home/hashim/dffml/dffml/source/source.py:docstring of dffml.source.source.BaseSourceContext.update:1: WARNING: Error in "py:comethod" directive:
unknown option: "abstractmethod".
.. py:comethod:: BaseSourceContext.update(record: dffml.record.Record)
:noindex:
:module: dffml.source.source
:abstractmethod:
:async:
Updates a record for a source
looking for now-outdated files... none found
pickling environment... done
checking consistency... /home/hashim/dffml/docs/plugins/service/http/python.rst: WARNING: document isn't included in any toctree
done
running tests...
Document: api/base
------------------
1 items passed all tests:
4 tests in default
4 tests in 1 items.
4 passed and 0 failed.
Test passed.
Document: api/util/net
----------------------
1 items passed all tests:
4 tests in default
4 tests in 1 items.
4 passed and 0 failed.
Test passed.
Doctest summary
===============
8 tests
0 failures in tests
0 failures in setup code
0 failures in cleanup code
build succeeded, 58 warnings.
Testing of doctests in the sources finished, look at the results in ../../home/hashim/dffml/doctest/output.txt.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment