Code

Opened 5 years ago

Closed 5 years ago

Last modified 14 months ago

#9834 closed (fixed)

Aggregation classes can use class attributes for their type as well

Reported by: Alex Owned by:
Component: Database layer (models, ORM) Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

This is another place where class attrs can be used in place of instance ones. This makes the code a bit more readable, and probably slightly more performant as well.

This is being filed against the external aggregation branch.

Attachments (1)

aggregation-class.diff (3.1 KB) - added by Alex 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by Alex

comment:1 Changed 5 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in Github branch, commit 3d7bb1e8c97ef4b5ff66639cfac7e2fa4344b1da. Thanks, Alex.

comment:2 Changed 14 months ago by akaariai

  • Component changed from ORM aggregation to Database layer (models, ORM)

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.