Create objectType
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách xem lại tài liệu API Get objectType được liên kết và các thao tác REST objectType hiện có trong repository. Xác định thao tác tạo và payload của request dựa trên ví dụ trong issue, sau đó xác minh rằng có thể tạo các kiểu đối tượng còn thiếu cho quy trình nạp ontology được mô tả.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I can get a new object type via the REST API... but I can't create one.
Which means if I have a collection of object types to create at the start of an engagement, I'm going to have to manually add them. Obviously via REST I wouldn't expect to have the full flexibility of the manual wizard, but I would expect to be able to CRUD the basics at least
I would expect the potential request payload to be similar to the Get objectType with the exception of the RID's of all the elements.
Expected Payload
{
"apiName": "employee",
"description": "A full-time or part-time employee of our firm",
"displayName": "Employee",
"status": "ACTIVE",
"primaryKey": "employeeId",
"properties": {
"employeeId": {
"dataType": {
"type": "integer"
},
},
"fullName": {
"dataType": {
"type": "string"
},
},
"office": {
"description": "The unique ID of the employee's primary assigned office",
"dataType": {
"type": "string"
},
},
"startDate": {
"description": "The date the employee was hired (most recently, if they were re-hired)",
"dataType": {
"type": "date"
},
}
},
}
As an example use case, this would allow me to populate an Ontology with a 1:1 mapping of a pre-existing model: by listing the current ontology objects and then creating the missing ones.
- Ngôn ngữ chính
- Python
- Star
- 208
- Fork
- 49
- Merge trung bình
- 15 giờ 8 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của palantir/foundry-platform-python
-
Feature Request: API endpoints to create Object Types, Action Types, and Link Types programmaticallyĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
palantir/foundry-platform-python#318 · 1 bình luận ·
-
AIP Agents API Seems BrokenCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
-
Connecitivity: Get ConnectionsĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
palantir/foundry-platform-python#200 · 1 reaction ·
-
Add Organization CreationĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
palantir/foundry-platform-python#83 · 3 bình luận ·
Tất cả issue của palantir/foundry-platform-python
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
huggingface/sentence-transformers#4186 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
QuantEcon/QuantEcon.py#988 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
fabriziosalmi/certmate#1247 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 72/100
sujithputta02/Esapay#13 ·