File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 45
45
ALLOCATION_FUNCS_ON_EXPIRE = [
46
46
"coldfront.core.allocation.utils.test_allocation_function" ,
47
47
]
48
+ ALLOCATION_RESOURCE_ORDERING = ENV .list ("ALLOCATION_RESOURCE_ORDERING" , default = ["-is_allocatable" , "name" ])
48
49
49
50
# This is in days
50
51
ALLOCATION_DEFAULT_ALLOCATION_LENGTH = ENV .int ("ALLOCATION_DEFAULT_ALLOCATION_LENGTH" , default = 365 )
Original file line number Diff line number Diff line change 23
23
24
24
logger = logging .getLogger (__name__ )
25
25
26
- ALLOCATION_ATTRIBUTE_VIEW_LIST = import_from_settings ("ALLOCATION_ATTRIBUTE_VIEW_LIST" , [] )
27
- ALLOCATION_FUNCS_ON_EXPIRE = import_from_settings ("ALLOCATION_FUNCS_ON_EXPIRE" , [] )
28
- ALLOCATION_RESOURCE_ORDERING = import_from_settings ("ALLOCATION_RESOURCE_ORDERING" , [ "-is_allocatable" , "name" ] )
26
+ ALLOCATION_ATTRIBUTE_VIEW_LIST = import_from_settings ("ALLOCATION_ATTRIBUTE_VIEW_LIST" )
27
+ ALLOCATION_FUNCS_ON_EXPIRE = import_from_settings ("ALLOCATION_FUNCS_ON_EXPIRE" )
28
+ ALLOCATION_RESOURCE_ORDERING = import_from_settings ("ALLOCATION_RESOURCE_ORDERING" )
29
29
30
30
31
31
class AllocationPermission (Enum ):
You can’t perform that action at this time.
0 commit comments