GH : 443 | Invalidating attributes after the given startTime and endTime period#467
GH : 443 | Invalidating attributes after the given startTime and endTime period#467yasandu0505 wants to merge 7 commits intoLDFLK:mainfrom
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces temporal validity to attributes and their relationships within the system. By incorporating Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request extends the attribute processing logic to include an EndTime for attributes, allowing for more precise time-based tracking. The changes involve parsing EndTime from input values, updating the handleAttributeLookUp function and AttributeMetadata to incorporate this new field, and utilizing it to set the Terminated field in the attribute lookup graph and the EndTime for IS_ATTRIBUTE_RELATIONSHIP in the graph metadata manager. Feedback indicates that error handling for time.Parse of both StartTime and EndTime should be made explicit to prevent silent failures. Additionally, it's recommended to check if metadata.EndTime is a zero value before formatting it, to avoid ambiguous "0001-01-01T00:00:00Z" timestamps and maintain the previous behavior of using an empty string when no end time is specified for Terminated and relationship EndTime fields.
|
@zaeema-n why do we have a mix of |
fd9cb22 to
0bce040
Compare
I already fixed that |
this PR closes #443 #471