blob: 0628ee111f39e5391d1057627396a177d6cd2d21 [file]
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for additional information regarding copyright ownership
# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements
from typing import ClassVar
from nifiapi.flowfilesource import FlowFileSource
class CreateNothing(FlowFileSource):
class Java:
implements: ClassVar[list] = ["org.apache.nifi.python.processor.FlowFileSource"]
class ProcessorDetails:
version = "0.0.1-SNAPSHOT"
description = """A Python processor for testing a use-case where the Source processor
does not create any output."""
tags: ClassVar[list] = ["test", "python", "source"]
def __init__(self, **kwargs):
pass
def create(self, context):
context.yield_resources()