Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Source Monday: fetch display value when text is empty #37722

Conversation

davydov-d
Copy link
Collaborator

What

https://github.com/airbytehq/oncall/issues/4337

How

  • request display_value field for three column types: Mirror, Dependency, and Board connection
  • extract those values in both display_value field and text if it is empty
  • cover with unit tests

User Impact

Only positive impact expected: for column types Mirror, Dependency, Board connection values should appear in the text column instead of empty strings

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

Copy link

vercel bot commented Apr 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Apr 30, 2024 6:48pm

datetime.strptime(result[item_index]["updated_at"], "%Y-%m-%dT%H:%M:%S%z").timestamp()
)
for record in result:
if "updated_at" in record:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is the cursor value (updated_at) can we take it from the manifest or declare the constant otherwise?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Frankly speaking - I'm not sure if this is a cursor value. There has been a change regarding the way we iterate the result, but nothing changed regarding this specific field. If you suggest declaring it as a constant, I'd prefer doing it in a separate PR

@davydov-d davydov-d merged commit 403a5cb into master May 1, 2024
39 checks passed
@davydov-d davydov-d deleted the ddavydov/source-monday-fetch-display-value-for-different-column-types branch May 1, 2024 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/monday
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants