Skip to content

Commit 927d51b

Browse files
authored
fix: move cern-specific config option from diracx to lhcbdiracx (#694)
1 parent 8d15a6a commit 927d51b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

diracx-core/src/diracx/core/config/schema.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from __future__ import annotations
22

33
import os
4-
from datetime import date, datetime
4+
from datetime import datetime
55
from typing import Annotated, Any, MutableMapping, TypeVar
66

77
from pydantic import BaseModel as _BaseModel
@@ -72,13 +72,6 @@ class UserConfig(BaseModel):
7272
Email: EmailStr | None = None
7373
Suspended: list[str] = []
7474
Quota: int | None = None
75-
# TODO: These should be LHCbDIRAC specific
76-
CERNAccountType: str | None = None
77-
PrimaryCERNAccount: str | None = None
78-
CERNPersonId: int | None = None
79-
80-
# Mapping from VO name to affiliation end date (YYYY-MM-DD)
81-
AffiliationEnds: dict[str, date] = Field(default_factory=dict)
8275

8376

8477
class GroupConfig(BaseModel):

0 commit comments

Comments
 (0)