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

wip: Add feature_last_updated_at to featurestate #237

Closed
wants to merge 4 commits into from

Conversation

gagantrivedi
Copy link
Member

No description provided.

@@ -141,11 +142,20 @@ class FeatureStateSerializerBasic(WritableNestedModelSerializer):
multivariate_feature_state_values = MultivariateFeatureStateValueSerializer(
many=True, required=False
)
# TODO: better variable name
feature_last_updated_since = serializers.SerializerMethodField()
Copy link
Member Author

Choose a reason for hiding this comment

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

@matthewelwell can you help with the name?

Copy link
Contributor

Choose a reason for hiding this comment

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

Is this a datetime or an integer?

If datetime: feature_last_updated_at

If integer: days_since_feature_last_updated

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah, it's an integer.

Copy link
Contributor

Choose a reason for hiding this comment

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

Let's go with days_since_feature_last_updated then.

@gagantrivedi gagantrivedi linked an issue Aug 26, 2021 that may be closed by this pull request
@dabeeeenster dabeeeenster deleted the feat/github-184/stale-flags branch December 7, 2022 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show "stale" flags
2 participants