Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • RQL RQL
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cubicweb
  • RQLRQL
  • Merge requests
  • !50

Merged
Created Aug 04, 2021 by Nsukami Patrick@nsukamiMaintainer

Finish type hint the rql/__init__.py module

  • Overview 0
  • Commits 1
  • Pipelines 4
  • Changes 3

Hello Pythonistas, the following is an attempt to finish type hinting the rql dunder init module. Mainly:

  • Type hint all parse functions inside rql/__init__.py
  • Create a type alias to represent what's returned by parse functions above
  • Update RQLSTChecker.check method signature:
    • node parameter should be a BaseNode or any children of BaseNode class
  • Type hint copy_uid_node function
  • Remove useless variable: pyparse = parse
  • Format without any compromise
Edited Aug 04, 2021 by Nsukami Patrick
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: topic/default/rql-dunder-init