Skill Group¶
Model¶
Bases: Model
This is a skill group entity based on SF msf__Skill_Definition__c.json
Source code in backend/skills/models.py
is_in_salesforce
property
¶
Check if the Skill Group is in Salesforce.
get_core_skills_groups()
classmethod
¶
Retrieve the queryset of SkillGroup instances excluding language and working conditions groups.
Returns¶
QuerySet[SkillGroup] A queryset of SkillGroup instances excluding those with names "Language skills" and "Working conditions".
Source code in backend/skills/models.py
get_driving_skills_group()
classmethod
¶
Retrieve the SkillGroup instance with the name "Driving licence types".
Returns¶
SkillGroup or None The SkillGroup instance with name "Driving licence types" if found, otherwise None.
Source code in backend/skills/models.py
get_language_group()
classmethod
¶
Retrieve the SkillGroup instance with the name "Language skills".
Returns¶
SkillGroup or None The SkillGroup instance with name "Language skills" if found, otherwise None.
Notes¶
This method is a convenience for accessing the language-related skill group, which is commonly used for language proficiency features.
Source code in backend/skills/models.py
get_working_conditions_group()
classmethod
¶
Retrieve the SkillGroup instance with the name "Working conditions".
Returns¶
SkillGroup or None The SkillGroup instance with name "Working conditions" if found, otherwise None.
Source code in backend/skills/models.py
Remapping config¶
Source data¶
[
{
"name": "Id",
"type": "id",
"idLookup": true
},
{
"name": "OwnerId",
"type": "reference",
"idLookup": false
},
{
"name": "IsDeleted",
"type": "boolean",
"idLookup": false
},
{
"name": "Name",
"type": "string",
"idLookup": true
},
{
"name": "CreatedDate",
"type": "datetime",
"idLookup": false
},
{
"name": "CreatedById",
"type": "reference",
"idLookup": false
},
{
"name": "LastModifiedDate",
"type": "datetime",
"idLookup": false
},
{
"name": "LastModifiedById",
"type": "reference",
"idLookup": false
},
{
"name": "SystemModstamp",
"type": "datetime",
"idLookup": false
},
{
"name": "msf__Available_for_Job_Alerts__c",
"type": "boolean",
"idLookup": false
},
{
"name": "msf__Default_Search_Behavior__c",
"type": "picklist",
"idLookup": false,
"picklist_options": [
{
"label": "At least 1 Search Value",
"value": "At least 1 Search Value",
"default": true
},
{
"label": "All Search Values",
"value": "All Search Values",
"default": false
}
]
},
{
"name": "msf__Skill_tags__c",
"type": "string",
"idLookup": false
},
{
"name": "msf__Textkernel_fieldname__c",
"type": "string",
"idLookup": false
},
{
"name": "msf__Textkernel_language_skill__c",
"type": "boolean",
"idLookup": false
},
{
"name": "msf__Type__c",
"type": "picklist",
"idLookup": false,
"picklist_options": [
{
"label": "Free Text",
"value": "Free Text",
"default": true
},
{
"label": "Evaluation",
"value": "Evaluation",
"default": false
}
]
},
{
"name": "msf__Use_for_Accounts__c",
"type": "boolean",
"idLookup": false
},
{
"name": "msf__Use_for_Candidates__c",
"type": "boolean",
"idLookup": false
},
{
"name": "msf__Add_to_Job_Applicants_automatically__c",
"type": "picklist",
"idLookup": false,
"picklist_options": [
{
"label": "Yes",
"value": "Yes",
"default": false
},
{
"label": "No",
"value": "No",
"default": true
}
]
},
{
"name": "msf__Sorting_Order__c",
"type": "picklist",
"idLookup": false,
"picklist_options": [
{
"label": "None",
"value": "None",
"default": true
},
{
"label": "Name Ascending",
"value": "Name Ascending",
"default": false
},
{
"label": "Name Descending",
"value": "Name Descending",
"default": false
}
]
}
]