What do you need to define in your code so the cur...
# connector-development
r
What do you need to define in your code so the cursor field can be defined by a user for the incremental sync (Python)? If I define cursor_field it says "set by source" in the UI, and you can't change it.
i
I think that you should override _*source_defined_cursor()*_ method for every stream separately that is supposed to have its cursor define by the user:
Copy code
@property
def source_defined_cursor(self) -> bool:
    return False
r
Cool, thanks! I will try this out 🙂
i
Np, btw you might also need to override _*supports_incremental*_ since you won't be setting a source defined cursor:
Copy code
@property
    def supports_incremental(self) -> bool:
        return True
r
It is working, I'm able to select a field now. Is there some kind of same property for the primary key? I tried
source_defined_primary_key
but that one doesn't work for me