Skip to content

Namespacing for data types associated with NuCypher Contracts #2739

@derekpierre

Description

@derekpierre

Related to #2687 .

Full discussion here: #2687 (comment)

> Do you have a preference for consistency? If it's the namepacing that matters most to you perhaps we make a typing module per contract?

I think some sort of more direct association between the types defined and the contracts would make them more intuitive. Having them live in nucypher/types.py just seems vague; it could be a typing module per contract or even keeping it general like nucypher.blockchain.eth.types...?
 
@derekpierre derekpierre 2 days ago Member
^ BTW Doesn't have to be this PR - maybe the namespacing can be looked into as part of a separate PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Code Quality 🔧Pertaining to code quality improvementsStyle ✨Make it look nicerwontfixNon-issue or no intent for changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions