Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't update processor name #272

Open
fernandodanielmartinez opened this issue Apr 15, 2021 · 2 comments
Open

Can't update processor name #272

fernandodanielmartinez opened this issue Apr 15, 2021 · 2 comments
Assignees
Milestone

Comments

@fernandodanielmartinez
Copy link

  • Nipyapi version: 0.16.2
  • NiFi version: 1.9
  • NiFi-Registry version: N/A
  • Python version: 3.8
  • Operating System: Windows

Description

Hi I want to update a processor name but it doesn't work. It is possible? I saw that update_processor only can receive a ProcessorConfigDTO that not include the processor name.

What I Did

Code:
config = nifi.PropertyDescriptorDTO(name='InsertRaw(PySpark)')
canvas.update_processor(item,config)

Error: "update param is not an instance of nifi.ProcessorConfigDTO"

Urgency

0 critical

@Chaffelson
Copy link
Owner

This is a good point, we do not currently have a simple method for changing the processor name and could add it to the update_processor command

@fernandodanielmartinez
Copy link
Author

Hi Dan! That would be a great enhancement to this beautiful library! update_processor could use ProcessorDTO config?

@Chaffelson Chaffelson added this to the 0.20 milestone Oct 22, 2023
@Chaffelson Chaffelson self-assigned this Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants